GNU bug report logs -
#14080
Guile bug building from source with pkg-config
Previous Next
Reported by: Mark Sutton <aeizon.jm <at> gmail.com>
Date: Thu, 28 Mar 2013 20:16:02 UTC
Severity: normal
Tags: moreinfo
Done: Andy Wingo <wingo <at> pobox.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14080 in the body.
You can then email your comments to 14080 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#14080
; Package
guile
.
(Thu, 28 Mar 2013 20:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mark Sutton <aeizon.jm <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Thu, 28 Mar 2013 20:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
I can ./configure make make install guile-2.0.7 from source, however,
when I then try in build guile-clutter or guile-ncurses from source I
get errors in both. After googling I found that I should have
./configure PKG_CONFIG=true.
When I try this, it configures okay, however, I get the following when I
make ...
./.libs/libguile-2.0.so: undefined reference to `GC_gc_no'
./.libs/libguile-2.0.so: undefined reference to `ffi_type_sint16'
./.libs/libguile-2.0.so: undefined reference to `GC_get_bytes_since_gc'
./.libs/libguile-2.0.so: undefined reference to `ffi_type_uint64'
./.libs/libguile-2.0.so: undefined reference to
`GC_register_finalizer_no_order'
./.libs/libguile-2.0.so: undefined reference to `GC_collect_a_little'
./.libs/libguile-2.0.so: undefined reference to `GC_pthread_detach'
./.libs/libguile-2.0.so: undefined reference to `GC_finalizer_notifier'
collect2: ld returned 1 exit status
make[3]: *** [guile] Error 1
make[3]: Leaving directory `/home/marks/3rd-party-src/guile-2.0.7/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/marks/3rd-party-src/guile-2.0.7/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marks/3rd-party-src/guile-2.0.7'
make: *** [all] Error 2
marks <at> marks-MacBookAir:~/3rd-party-src/guile-2.0.7$
... so at the moment, I can build guile but I cannot build any extension
packages into it.
Any ideas?
--
Many thanks
Mark Sutton
Information forwarded
to
bug-guile <at> gnu.org
:
bug#14080
; Package
guile
.
(Sat, 30 Mar 2013 07:25:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 14080 <at> debbugs.gnu.org (full text, mbox):
Mark Sutton <aeizon.jm <at> gmail.com> writes:
> I can ./configure make make install guile-2.0.7 from source, however,
> when I then try in build guile-clutter or guile-ncurses from source I
> get errors in both. After googling I found that I should have
> ./configure PKG_CONFIG=true.
You shouldn't need PKG_CONFIG=true. Frankly it's a bad idea.
Can you please show us the error messages you get (and any relevant
context) if you configure *without* PKG_CONFIG=true?
Thanks,
Mark
Information forwarded
to
bug-guile <at> gnu.org
:
bug#14080
; Package
guile
.
(Sat, 30 Mar 2013 23:14:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 14080 <at> debbugs.gnu.org (full text, mbox):
Hi Mark,
In your replies, please keep <14080 <at> debbugs.gnu.org> in the CC line, so
that your emails will be recorded in this bug entry.
Mark Sutton <aeizon.jm <at> gmail.com> writes:
> On 30/03/13 07:21, Mark H Weaver wrote:
>> Mark Sutton <aeizon.jm <at> gmail.com> writes:
>>
>>> I can ./configure make make install guile-2.0.7 from source, however,
>>> when I then try in build guile-clutter or guile-ncurses from source I
>>> get errors in both. After googling I found that I should have
>>> ./configure PKG_CONFIG=true.
>> You shouldn't need PKG_CONFIG=true. Frankly it's a bad idea.
>>
>> Can you please show us the error messages you get (and any relevant
>> context) if you configure *without* PKG_CONFIG=true?
>>
>> Thanks,
>> Mark
> Hi Mark,
>
> I'm using Kubuntu 12.04. I've ./configure (no args) make & make
> install - guile-2.0.7 from source with no problems.
> When I try to ./configure guile-ncurses-1.3 I get the following (I've
> attached the configure.log file) ...
>
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking dependency style of gcc... (cached) gcc3
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> configure: checking for ncurses
> checking curses.h usability... no
> checking curses.h presence... no
> checking for curses.h... no
> checking ncurses/curses.h usability... no
> checking ncurses/curses.h presence... no
> checking for ncurses/curses.h... no
> configure: error: in `/home/marks/3rd-party-src/guile-ncurses-1.3':
> configure: error: curses.h could not be found
This indicates that you need to install the 'libncurses5-dev' package.
In general, when compiling software from source code, you need the *-dev
packages of any library dependencies.
> Also, I've tried to install guile-clutter, it stops at cannot find
> g-wrap. When I try to install g-wrap from source I can configure okay
> (again without args), however, when I try to make I get the following
> ...
>
> make all-recursive
> make[1]: Entering directory `/home/marks/3rd-party-src/g-wrap'
> Making all in lib
> make[2]: Entering directory `/home/marks/3rd-party-src/g-wrap/lib'
> make all-am
> make[3]: Entering directory `/home/marks/3rd-party-src/g-wrap/lib'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/marks/3rd-party-src/g-wrap/lib'
> make[2]: Leaving directory `/home/marks/3rd-party-src/g-wrap/lib'
> Making all in g-wrap
> make[2]: Entering directory `/home/marks/3rd-party-src/g-wrap/g-wrap'
> make all-am
> make[3]: Entering directory `/home/marks/3rd-party-src/g-wrap/g-wrap'
> sed -e "s|@g_wrap_shlib_dir\@||" \
> ./config.scm.in > config.scm
> make[3]: Leaving directory `/home/marks/3rd-party-src/g-wrap/g-wrap'
> make[2]: Leaving directory `/home/marks/3rd-party-src/g-wrap/g-wrap'
> Making all in test
> make[2]: Entering directory `/home/marks/3rd-party-src/g-wrap/test'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/marks/3rd-party-src/g-wrap/test'
> Making all in guile
> make[2]: Entering directory `/home/marks/3rd-party-src/g-wrap/guile'
> Making all in g-wrap
> make[3]: Entering directory `/home/marks/3rd-party-src/g-wrap/guile/g-wrap'
> Making all in .
> make[4]: Entering directory `/home/marks/3rd-party-src/g-wrap/guile/g-wrap'
> /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> -I. -I../.. -I../../g-wrap -I../.. -I../../lib -I../../guile -g
> -O2 -Wall -Wmissing-prototypes -Werror -std=gnu99 -MT guile-runtime.lo
> -MD -MP -MF .deps/guile-runtime.Tpo -c -o guile-runtime.lo
> guile-runtime.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../g-wrap
> -I../.. -I../../lib -I../../guile -g -O2 -Wall -Wmissing-prototypes
> -Werror -std=gnu99 -MT guile-runtime.lo -MD -MP -MF
> .deps/guile-runtime.Tpo -c guile-runtime.c -fPIC -DPIC -o
> .libs/guile-runtime.o
> In file included from guile-runtime.c:32:0:
> ../../guile/g-wrap/guile-compatibility.h:25:22: fatal error:
> libguile.h: No such file or directory
The compile command above is missing the CFLAGS associated with
guile-2.0. The output of "pkg-config --cflags guile-2.0" should be in
there. For example, on my system, it is:
-pthread -I/usr/local/include/guile/2.0 -I/usr/local/include
What --prefix (if any) did you pass to ./configure when you built guile?
What is the output of "pkg-config --cflags guile-2.0" on your system?
Also, can you show us the full output of the "./configure" command for
g-wrap?
Thanks,
Mark
> compilation terminated.
> make[4]: *** [guile-runtime.lo] Error 1
> make[4]: Leaving directory `/home/marks/3rd-party-src/g-wrap/guile/g-wrap'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/marks/3rd-party-src/g-wrap/guile/g-wrap'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/marks/3rd-party-src/g-wrap/guile'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/marks/3rd-party-src/g-wrap'
> make: *** [all] Error 2
Information forwarded
to
bug-guile <at> gnu.org
:
bug#14080
; Package
guile
.
(Sat, 30 Mar 2013 23:26:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 14080 <at> debbugs.gnu.org (full text, mbox):
Also, what version of g-wrap are you trying to build?
Thanks,
Mark
Information forwarded
to
bug-guile <at> gnu.org
:
bug#14080
; Package
guile
.
(Sun, 31 Mar 2013 01:08:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 14080 <at> debbugs.gnu.org (full text, mbox):
Hello Mark(s) :)
> Also, what version of g-wrap are you trying to build?
Note that in order to build guile-clutter, you also need the following dependencies
to be satisfied [i'm using git, so this is an extract from the README file of the
clutter branch of guile-gnome-platform]
Guile-Clutter requires Clutter 1.10 development packages.
Guile-Clutter depends on some parts of Guile-GNOME: the GLib, ATK,
Pango, and Cairo wrapsets. These are commonly distributed with the
`guile-gnome-platform' tarball. The Guile-GNOME platform tarball itself
depends on G-Wrap and Guile-Cairo. See http://gnu.org/s/guile-gnome/,
for more information.
Note that you will need the very latest guile-cairo [i mean and recommend a git
clone, because it's been patched by Andy Wingo [the developer] in oder to run the
'bouncer' example I wrote [based on the same example written in C by the clutter
folks] and I don't think Andy did get the time to create a new guile-cairo tarball.
If you need [more] help, let me know.
Cheers,
David
Information forwarded
to
bug-guile <at> gnu.org
:
bug#14080
; Package
guile
.
(Sun, 31 Mar 2013 12:19:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 14080 <at> debbugs.gnu.org (full text, mbox):
On 30/03/13 23:22, Mark H Weaver wrote:
> Also, what version of g-wrap are you trying to build?
>
> Thanks,
> Mark
Hi Mark,
I'm using g-wrap 1.9.14
--
Many thanks
Mark Sutton
Added tag(s) moreinfo.
Request was from
Mark H Weaver <mhw <at> netris.org>
to
control <at> debbugs.gnu.org
.
(Thu, 02 Oct 2014 00:18:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Andy Wingo <wingo <at> pobox.com>
:
You have taken responsibility.
(Mon, 20 Jun 2016 20:27:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Mark Sutton <aeizon.jm <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 20 Jun 2016 20:27:02 GMT)
Full text and
rfc822 format available.
Message #27 received at 14080-done <at> debbugs.gnu.org (full text, mbox):
Expiring this old bug. Please open a new one if you have new
compilation failures. Thanks!
Andy
On Thu 28 Mar 2013 09:11, Mark Sutton <aeizon.jm <at> gmail.com> writes:
> Hi,
>
> I can ./configure make make install guile-2.0.7 from source, however,
> when I then try in build guile-clutter or guile-ncurses from source I
> get errors in both. After googling I found that I should have
> ./configure PKG_CONFIG=true.
>
> When I try this, it configures okay, however, I get the following when
> I make ...
>
> ./.libs/libguile-2.0.so: undefined reference to `GC_gc_no'
> ./.libs/libguile-2.0.so: undefined reference to `ffi_type_sint16'
> ./.libs/libguile-2.0.so: undefined reference to `GC_get_bytes_since_gc'
> ./.libs/libguile-2.0.so: undefined reference to `ffi_type_uint64'
> ./.libs/libguile-2.0.so: undefined reference to
> `GC_register_finalizer_no_order'
> ./.libs/libguile-2.0.so: undefined reference to `GC_collect_a_little'
> ./.libs/libguile-2.0.so: undefined reference to `GC_pthread_detach'
> ./.libs/libguile-2.0.so: undefined reference to `GC_finalizer_notifier'
> collect2: ld returned 1 exit status
> make[3]: *** [guile] Error 1
> make[3]: Leaving directory `/home/marks/3rd-party-src/guile-2.0.7/libguile'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/marks/3rd-party-src/guile-2.0.7/libguile'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/marks/3rd-party-src/guile-2.0.7'
> make: *** [all] Error 2
> marks <at> marks-MacBookAir:~/3rd-party-src/guile-2.0.7$
>
> ... so at the moment, I can build guile but I cannot build any
> extension packages into it.
>
> Any ideas?
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 19 Jul 2016 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.