[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

libgeda doesn't build to external build directory. (was Re: gEDA-user: gedagaf runs on RH8)



[ Ales here, I'm reposting this since majordomo didn't recognize the
  e-mail as being subscribed to the geda-dev/geda-user mailinglist. ]

[ Yeah, unfortunately, I don't know how to fix this problem.  The problem
  is related to noweb and the fact that the C source are build from another
  set of files.  -Ales ]

-- Cut here --
Date: Mon, 10 Jan 2005 15:40:32 -0600
From: Mark Rages <markrages@xxxxxxxxx>

So I'm trying to get started packaging stuff in RPM format.  I notice
libgeda doesn't build properly outside the source directory
(transcript follows).  I can work around this, but it would be nice to
fix it so the CD distribution doesn't need to use as much disk space
when compiling.

Regards,
Mark
markrages@gmail

$ ls
libgeda-20041228.tar.gz
$ tar -xzf libgeda-20041228.tar.gz
$ mkdir libgeda-build ; cd libgeda-build
$ ../libgeda-20041228/configure
Configuring libgeda version 20041228
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for guile... /usr/bin/guile
checking for guile-config... /usr/bin/guile-config
checking for guile-tools... /usr/bin/guile-tools
checking libguile compile flags...
checking libguile link flags... -lguile -lguile-ltdl -lqthreads
-lpthread -lcrypt -lm
checking for guile-config... (cached) /usr/bin/guile-config
checking if scm_eval_x() takes a second module argument... yes
checking for scm_make_smob_type in -lguile... yes
checking for scm_set_smob_mark in -lguile... yes
checking for scm_set_smob_free in -lguile... yes
checking for scm_set_smob_print in -lguile... yes
checking for rint in -lm... yes
checking for dlopen in -ldl... yes
checking for libgdgeda-config... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.2.0... yes
checking GTK22_CFLAGS... -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking GTK22_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for glib-2.0 >= 2.2.0... yes
checking GLIB22_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GLIB22_LIBS... -lglib-2.0
checking for notangle... no
** Cannot find notangle (part of noweb) : using notangle_guile.scm instead **
checking for guile... /usr/bin/guile
checking for getopt-long module in guile... yes
checking for regex module in guile... yes
--            notangle_guile.scm should work fine on this system           --
checking for noweave... no
checking for gawk... (cached) gawk
** Cannot find noweave (part of noweb)! **
**   Documentation creation disabled    **
checking for texi2html... /usr/bin/texi2html
checking for indent... /usr/bin/indent
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for optarg in unistd.h... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for getcwd... yes
checking for strstr... yes
checking for vsnprintf... yes
checking for snprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating noweb/Makefile
config.status: creating scripts/Makefile
config.status: creating include/Makefile
config.status: creating docs/Makefile
config.status: creating libgeda.pc
config.status: creating scripts/geda_totexi
config.status: creating scripts/notangle_guile.scm
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing geda_totexi-chmod commands
config.status: executing notangle_guile.scm-chmod commands
 
** Configuration summary for libgeda 20041228:
 
   GLIB library version:             2.4.8
   GTK+ library version:             2.4.14
   GUILE library version:            1.6.4
   libgdgeda (png output):           no
   mingw build:                      no
   data directory:                   /usr/local/share/gEDA
   rc directory:                     /usr/local/share/gEDA
   LIBGEDA .so version:              22:0:0

$ make
make  all-recursive
make[1]: Entering directory `/home/rpm/libgeda-build'
Making all in src
make[2]: Entering directory `/home/rpm/libgeda-build/src'
make[2]: *** No rule to make target `a_basic.nw', needed by `all'.  Stop.
make[2]: Leaving directory `/home/rpm/libgeda-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rpm/libgeda-build'
make: *** [all] Error 2
$


-- 
"We act as though comfort and luxury were the chief requirements of
life, when all that we need to make us happy is something to be
enthusiastic about."

- Einstein