LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-27-2018, 02:28 AM   #1
badbetty
Member
 
Registered: Jan 2014
Posts: 159

Rep: Reputation: Disabled
what is causing rebuilding CLISP from slackware-current to fail with regard to FASTCGI


Hello, good morning

Following on from previous threads regarding recompiling Clisp, where with the help received on here I managed to get it done so to speak, there is another problem now when configuring to build with FASTCGI module using '--with-module=fastcgi'. The errors are below showing the build process bailing out.

I cannot fathom what's wrong as it seems all that should be required is to add the relevant --with-module and all should be fine.

If i remove the --with-module, the build completes.


If any one has any ideas, please share. Thank you.


configure: ** FastCGI (Programs)
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... (cached) x86_64-pc-linux-gnu
checking host system type... (cached) x86_64-pc-linux-gnu
checking for ld used by gcc... (cached) /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/bin/ld) is GNU ld... (cached) yes
checking for shared library run path origin... (cached) done
checking host CPU and C ABI... (cached) x86_64
checking for the common suffixes of directories in the library search path... (cached) lib64,lib64
checking how to link with libfcgi... -lfcgi
configure: ** FastCGI (Headers)
checking fcgi_stdio.h usability... no
checking fcgi_stdio.h presence... no
checking for fcgi_stdio.h... no
configure: error: cannot find FastCGI headers
make[1]: Entering directory '/tmp/clisp-2.49.20180409.0e4d38776f59/builddir/fastcgi'
make[1]: *** No rule to make target 'clisp-module'. Stop.
make[1]: Leaving directory '/tmp/clisp-2.49.20180409.0e4d38776f59/builddir/fastcgi'
Makefile:2358: recipe for target 'fastcgi' failed
make: *** [fastcgi] Error 2
make: Leaving directory '/tmp/clisp-2.49.20180409.0e4d38776f59/builddir'
 
Old 04-27-2018, 03:33 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,547

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
configure: ** FastCGI (Headers)
checking fcgi_stdio.h usability... no
checking fcgi_stdio.h presence... no
checking for fcgi_stdio.h... no
configure: error: cannot find FastCGI headers
Code:
root@wizbit:/tmp/clisp-2.49.20180409.0e4d38776f59# grep -ri "fastcgi headers" .
./modules/fastcgi/configure.in:  AC_MSG_ERROR([cannot find FastCGI headers])
./modules/fastcgi/configure:  as_fn_error $? "cannot find FastCGI headers" "$LINENO" 5
root@wizbit:/tmp/clisp-2.49.20180409.0e4d38776f59# cd modules/fastcgi/
root@wizbit:/tmp/clisp-2.49.20180409.0e4d38776f59/modules/fastcgi# less README
[..]
        (1) SYSTEM REQUIREMENTS
            -------------------

You will need to:

    - Know how to compile CLISP from source code (the binaries do
      not contain the extra modules compiled in).

    - Understand FastCGI by reading up on it at http://www.fastcgi.com

    - Download the FastCGI developer's kit, build it, and install it
      See http://www.fastcgi.com  Win32 users should see
          http://www.caraveo.com/fastcgi/
[..]
Did you do that already? The headers are missing, so either they are not in the expected place, or they're not there at all.
fgcgi_stdio is not present on my system.
 
Old 04-27-2018, 03:49 AM   #3
badbetty
Member
 
Registered: Jan 2014
Posts: 159

Original Poster
Rep: Reputation: Disabled
No, in short. Even more strangely, Ive just tried on a different machine (and again 'no' to your question) and it has worked. I'm in the process of trying to sort out what is different.

In my naivety, I'd understood that with fastcgi now being a module in the CLISP build tree, the 'dev kit' fastcgi stuff was no longer relevant. The --with-module=fastcgi was all that is now required. Have I misunderstood.

I'll pick through some more.
 
Old 04-27-2018, 03:59 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by badbetty View Post
No, in short. Even more strangely, Ive just tried on a different machine (and again 'no' to your question) and it has worked. I'm in the process of trying to sort out what is different.

In my naivety, I'd understood that with fastcgi now being a module in the CLISP build tree, the 'dev kit' fastcgi stuff was no longer relevant. The --with-module=fastcgi was all that is now required. Have I misunderstood.

I'll pick through some more.
if it worked on a different machine could be because on that one you have installed fcgi on it: on a host I got fcgi_stdio.h as part of the fcgi package.

Last edited by ponce; 04-27-2018 at 04:01 AM.
 
Old 04-27-2018, 05:10 AM   #5
badbetty
Member
 
Registered: Jan 2014
Posts: 159

Original Poster
Rep: Reputation: Disabled
oh good grief...you were spot on. Why is everyone so much more savvy at all this than me! :-)

I can't even remember when I put fcgi package on. It would seem, as was intimated by drmozes, the CLISP fastcgi module does need some fastcgi header stuff etc to be loaded before build.


Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Follow on re: CLISP re-build using current - does CLISP on current work with quicklisp ? badbetty Slackware 10 04-11-2018 02:47 PM
[SOLVED] how can 'we' go about getting Slackware's CLISP package rebuilt ? badbetty Slackware 4 04-09-2018 01:41 PM
[SOLVED] Slackware 14.2/-current - problem with rebuilding kde-workspace and possibly other packages DarkVision Slackware 8 03-21-2016 01:32 AM
clisp not included in slackware 14? honeybadger Slackware 4 07-21-2012 03:58 AM
Build Chrome on Slackware-current fail--No package 'nss' found grissiom Slackware 12 09-06-2008 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration