Re: Gamin build fails with garnome-2.14.2



The python path hack deals with the situation were python-2.4.x is
installed in a non-standard location.  If python-2.4.x is installed
under /usr/bin you can eliminate the hack:

* copy Makefile Makefile-
* edit Makefile
- comment out line beginning with PATHFILES
- comment out pre-configure section

Otherwise, 

* build bootstrap/automake-1.9
* cd bootstrap/gamin
- make cookieclean
- make install


-Joseph

=============================================================================

On Tue, 2006-06-06 at 09:22 +0530, Surya Kiran Gullapalli wrote:
> Hi,
> I'm trying to build gnome using garnome-2.14.2. But gamin build fails.
> 
> Here is the output .
> 
> ==========================
> [===== NOW BUILDING:    gamin-0.1.7     =====]
> install -d cookies/main.d
> install -d download
> install -d download/partial
>  ==> Grabbing download/gamin-0.1.7.tar.gz
>         ==> Trying file//files/gamin-0.1.7.tar.gz
> make[1]: *** [file//files/gamin-0.1.7.tar.gz] Error 1
>         ==> Trying file///nfs/skglnx/home/skg/Builds/gnome-
> 2.14.2/gamin-0.1.7.tar.gz
>  ==> Grabbing download/python-path-fixes.diff
>         ==> Trying file//files/python-path-fixes.diff
>         [fetch] complete for gamin.
>  ==> Running checksum on gamin-0.1.7.tar.gz 
> 1a1991ffa749b7dc2cc0573d6a2867b8  download/gamin-0.1.7.tar.gz
> file gamin-0.1.7.tar.gz passes checksum test!
>  ==> Running checksum on python-path-fixes.diff
> 19ff10882346340ed12244d3cc5ab96d  download/python- path-fixes.diff
> file python-path-fixes.diff passes checksum test!
>         [checksum] complete for gamin.
> install -d work/main.d
>  ==> Extracting download/gamin-0.1.7.tar.gz
>         [extract] complete for gamin. 
>  ==> Applying patch download/python-path-fixes.diff
> patching file configure.in
>         [patch] complete for gamin.
>         [fixup] complete for gamin.
> acinclude.m4:4: warning: underquoted definition of
> AC_STRUCT_ST_MTIM_NSEC 
>   run info '(automake)Extending aclocal'
>   or see http://sources.redhat.com/automake/automake.html#Extending%
> 20aclocal
> /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of
> AM_PATH_GTK 
> /usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of
> AM_PATH_GLIB
>  ==> Running configure in work/main.d/gamin-0.1.7
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu 
> checking target system type... i686-pc-linux-gnu
> 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 for style of include used by make... GNU
> checking for
> gcc... /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/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 /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-
> 4.1.1/bin/gcc accepts -g... yes
> checking
> for /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> option to accept ANSI C... none needed
> checking dependency style
> of /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc- 4.1.1/bin/gcc...
> gcc3
> checking for a sed that does not truncate
> output... /nfs/skglnx/home/skg/Packages/bin/sed
> checking for egrep... grep -E
> checking for ld used
> by /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-
> 4.1.1/bin/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... /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/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 whether we are using the GNU C++ compiler... yes
> checking whether /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-
> 4.1.1/bin/g++ accepts -g... yes
> checking dependency style
> of /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/g++...
> gcc3
> checking how to run the C++
> preprocessor... /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-
> 4.1.1/bin/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 /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> object... ok
> checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip 
> checking
> if /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc static
> flag  works... yes
> checking
> if /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> supports -fno-rtti -fno-exceptions... no
> checking
> for /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> option to produce PIC... -fPIC
> checking
> if /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc PIC
> flag -fPIC works... yes
> checking if /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-
> 4.1.1/bin/gcc supports -c -o file.o... yes
> checking whether
> the /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/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... no
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used
> by /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc- 4.1.1/bin/g
> ++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether
> the /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/g++
> linker (/usr/bin/ld) supports shared libraries... yes 
> checking
> for /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/g++
> option to produce PIC... -fPIC
> checking if /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/g
> ++ PIC flag -fPIC works... yes
> checking if /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-
> 4.1.1/bin/g++ supports -c -o file.o... yes
> checking whether
> the /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/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... no
> 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 for library containing strerror... none required
> checking for gcc...
> (cached) /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> checking whether we are using the GNU C compiler... (cached) yes 
> checking
> whether /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> accepts -g... (cached) yes
> checking
> for /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> option to accept ANSI C... (cached) none needed 
> checking dependency style
> of /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc...
> (cached) gcc3
> checking for gcc...
> (cached) /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> checking whether we are using the GNU C compiler... (cached) yes 
> checking
> whether /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> accepts -g... (cached) yes
> checking
> for /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc
> option to accept ANSI C... (cached) none needed 
> checking dependency style
> of /nfs/skglnx/home/skg/Packages/Gcc-Packages/gcc-4.1.1/bin/gcc...
> (cached) gcc3
> checking for ANSI C header files... (cached) yes
> checking for a BSD-compatible install... /usr/bin/install -c 
> checking whether make sets $(MAKE)... (cached) yes
> checking gtk-doc version >= 1.0... yes
> checking for usleep... yes
> checking for setsid... yes
> checking for setenv... yes
> checking for putenv... yes
> checking for getlogin_r... yes
> checking for nanoseconds field of struct stat.st_mtim... tv_nsec
> ./configure: line 21414: syntax error near unexpected token `DAEMON,'
> ./configure: line 21414: `PKG_CHECK_MODULES(DAEMON, glib-2.0)'
> make: *** [configure-work/main.d/gamin-0.1.7/configure] Error 2
> ===================================
> 
> If you look at the beginning of the output, there's a warning message
> from aclocal. Apparently, its trying to pick glib/gtk
> from /usr/local/share path. But my gnome is not installed there. 
> 
> Can i safely ignore the warning message. ?
> 
> and then there's a syntax error in configure script, again talking
> about glib. 
> what am i doing wrong?
> 
> Surya
> 
-- 
joseph_sacco [at] comcast [dot] net




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