[SOLVED] what is causing rebuilding CLISP from slackware-current to fail with regard to FASTCGI
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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'
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.