LinuxQuestions.org
Visit Jeremy's Blog.
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 07-17-2014, 07:44 PM   #1
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 662

Rep: Reputation: 93
Cannot build autogen on Slackware 14.1 64bit / multilib


I am slowly working my way through the dependencies for gtkpod using the SBo scripts using Slackware 14.1 64bit multilib setup. Unsupported by SBo so I am posting here...

I cannot compile autogen with the following error message:

Code:
checking whether with-libguile-cflags was specified... no
checking whether with-libguile-libs was specified... no
checking whether libguile can be linked with... no
configure: error: Cannot find libguile.  libguile is required.  Perhaps you need to install guile-devel?
I have run the script after adding:

Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
before ./configure with no resolution. Libguile is definitely installed:

Code:
root@ilium~# find /usr -iname libguile*
/usr/include/guile/2.0/libguile
/usr/include/guile/2.0/libguile.h
/usr/lib64/libguile-2.0.so
/usr/lib64/libguilereadline-v-18.la
/usr/lib64/libguile-2.0.so.22.7.0
/usr/lib64/libguile-2.0.so.22
/usr/lib64/libguilereadline-v-18.so.18
/usr/lib64/libguilereadline-v-18.so
/usr/lib64/libguile-2.0.la
/usr/lib64/libguilereadline-v-18.so.18.0.0
root@ilium~#
And config.log is not helpful but I attach it to this post in case wiser eyes than mine can see a clue.

Thanks to anyone who can show me where I am going wrong
Attached Files
File Type: log config.log (163.7 KB, 6 views)
 
Old 07-17-2014, 09:36 PM   #2
55020
Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 501
Blog Entries: 4

Rep: Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538
Ok, looking at your config.log, it fails because it can't find guile's include file,
Code:
configure:15519: checking whether with-libguile-cflags was specified
configure:15526: result: no
configure:15537: checking whether with-libguile-libs was specified
configure:15544: result: no
configure:15594: checking whether libguile can be linked with
configure:15619: gcc -std=gnu99 -o conftest -O2 -fPIC  -L/usr/lib64 conftest.c -ldl  -lguile >&5
conftest.c:145:22: fatal error: libguile.h: No such file or directory
 #include <libguile.h>
                      ^
compilation terminated.
configure:15619: $? = 1
However, as you showed, you do have the required file /usr/include/guile/2.0/libguile.h, but its location is not being set. This is what the config.log looks like when it works correctly:

Code:
configure:15465: checking whether with-libguile-cflags was specified
configure:15472: result: no
configure:15483: checking whether with-libguile-libs was specified
configure:15490: result: no
configure:15516: guile-config used for CFLAGS: -pthread -I/usr/include/guile/2.0  
configure:15523: guile-config used for LIBS: -lguile-2.0 -lgc  
configure:15540: checking whether libguile can be linked with
configure:15565: gcc -std=gnu99 -o conftest -O2 -fPIC  -pthread -I/usr/include/guile/2.0    conftest.c -ldl  -lguile-2.0 -lgc   >&5
configure:15565: $? = 0
configure:15576: result: yes
The crucial information "-pthread -I/usr/include/guile/2.0" comes from /usr/lib64/pkgconfig/guile-2.0.pc. Do you have that file? If you do, what does the command 'guile-config compile' print? If you don't have that file, you need to reinstall guile.

Last edited by 55020; 07-17-2014 at 09:50 PM. Reason: OP's SBo tree is fine :)
 
Old 07-18-2014, 02:15 AM   #3
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 662

Original Poster
Rep: Reputation: 93
Thanks 55020! As you suggested my installation of libguile was broken, I have no idea why, and recompiling it solved the issues.

Thank you....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware 13.37 64bit multilib questions: update to /patch Eeel Slackware 1 04-01-2012 02:32 AM
Ipad 3 ("new") on Slackware 13.37 64bit Multilib and KDE Eeel Slackware 7 03-25-2012 01:59 PM
Error installing "evas" from Enlightenment DR17 on Slackware 13.2 64Bit Multilib ZXDunny Linux - Software 0 06-07-2010 11:58 AM
can LFS be build as a 64bit system and can I use the slackware /etc scripts rob.rice Linux From Scratch 4 09-12-2008 04:33 AM


All times are GMT -5. The time now is 02:25 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration