On Wednesday 17 December 2008 05:36:10 pm Dan Nicholson wrote:
> On Tue, Dec 16, 2008 at 3:27 PM, b-vol <[email protected]> wrote:
> > Greetings,
> >
> > I am in a spot of bother with installing two programs on an AMD64 box
> > (gcc-4.3.2 kernel 2.6.27.7 - 64-bit (non-multilib) build.
> >
> > ############
> > Program1:- libexif-gtk-0.3.5. This is needed for gtkam. gtkam (and
> > libexif-gtk) are not in the blfs book but on the cblfs site. All
> > attempts to compile libexif-gtk have failed. I tried the sed on the
> > cblfs website as well as debian patches I found all to no avail. I
> > tried stuff from the CVS repository but the downloaded stuff has no
> > configure or autgen script. The first thing odd noticable is
> > when running the configure script one gets (after makefile
> > generation):-
> >
> > ./configure: line 29105: srcdir: command not found
> > Configuration (libexif-gtk):
> >
> > Source code location:
> > Version: 0.3.5
> > Compiler: gcc -m64
> >
> > libexif: < 0.6.12 (think about upgrading)
> >
> > I had libexif 0.6.16 and then 0.6.17 (newely relesed) installed and I
> > still got the nonsence. Further down I get this:-
>
> libexif-gtk is looking for the exif-mem.h header file to determine if
> you have newer libexif. It should be in
> /usr/include/libexif/exif-mem.h. It looks like it's expecting
> `pkg-config --cflags libexif` to return -I/usr/include/libexif. Better
> would be to check for libexif/exif-mem.h. That's what the cblfs sed is
> doing. That should take care of this problem.
>
> > In file included from gtk-menu-option.c:22:
> > gtk-menu-option.h:53: error: expected '=', ',', ';', 'asm' or
> > '__attribute__' before 'gtk_menu_option_get_type'
> > gtk-menu-option.c: In function 'gtk_menu_option_destroy':
> > gtk-menu-option.c:72: warning: implicit declaration of
> > function 'GTK_CHECK_CAST'
> > gtk-menu-option.c:72: warning: nested extern declaration of
> > 'GTK_CHECK_CAST' .. In file included from gtk-menu-option.c:22:
> > gtk-menu-option.h:53: error: expected '=', ',', ';', 'asm' or
> > '__attribute__' before 'gtk_menu_option_get_type'
> > gtk-menu-option.c: In function 'gtk_menu_option_destroy':
> > gtk-menu-option.c:72: warning: implicit declaration of
> > function 'GTK_CHECK_CAST'
> > gtk-menu-option.c:72: warning: nested extern declaration of
> > 'GTK_CHECK_CAST'
>
> Could you show the command being run and any other output before this?
> C errors can be tricky to debug.
>
> --
> Dan
Thanks for your help.
1) I added LDFLAGS="-I/usr/include/libexif" and the configure now reports
libexif>=0.6.12.
2) The make however still fails. The compiler spew is below:-
##########
checking for libexif/exif-mem.h... yes
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating Makefile
config.status: creating libexif-gtk/Makefile
config.status: creating libexif-gtk/libexif-gtk.pc
config.status: creating gtk-extensions/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
./configure: line 29105: srcdir: command not found
Configuration (libexif-gtk):
Source code location:
Version: 0.3.5
Compiler: gcc
libexif: >= 0.6.12
make all-recursive
make[1]: Entering directory
`/usr/src/build-08/vpn-08/sources-vpnc08/gimp+sane-vpnc-08/libexif-gtk-0.3.5'
Making all in m4
make[2]: Entering directory
`/usr/src/build-08/vpn-08/sources-vpnc08/gimp+sane-vpnc-08/libexif-gtk-0.3.5/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/usr/src/build-08/vpn-08/sources-vpnc08/gimp+sane-vpnc-08/libexif-gtk-0.3.5/m4'
Making all in gtk-extensions
make[2]: Entering directory
`/usr/src/build-08/vpn-08/sources-vpnc08/gimp+sane-vpnc-08/libexif-gtk-0.3.5/gtk-extensions'
if /bin/sh ../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -DGTK_DISABLE_DEPRECATED
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/include/atk-1.0
-I/opt/include/cairo -I/opt/include/pango-1.0 -I/opt/include/glib-2.0
-I/opt/lib/glib-2.0/include -I/usr/X11R7.4/include/pixman-1
-I/usr/X11R7.4/include -I/opt/gtk2143/include/gtk-2.0
-I/opt/gtk2143/lib/gtk-2.0/include -g -O2 -Wall -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-MT
gtk-menu-option.lo -MD -MP -MF ".deps/gtk-menu-option.Tpo" -c -o
gtk-menu-option.lo gtk-menu-option.c; \
then mv -f ".deps/gtk-menu-option.Tpo" ".deps/gtk-menu-option.Plo";
else
rm -f ".deps/gtk-menu-option.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -DGTK_DISABLE_DEPRECATED
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/include/atk-1.0
-I/opt/include/cairo -I/opt/include/pango-1.0 -I/opt/include/glib-2.0
-I/opt/lib/glib-2.0/include -I/usr/X11R7.4/include/pixman-1
-I/usr/X11R7.4/include -I/opt/gtk2143/include/gtk-2.0
-I/opt/gtk2143/lib/gtk-2.0/include -g -O2 -Wall -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-MT
gtk-menu-option.lo -MD -MP -MF .deps/gtk-menu-option.Tpo -c
gtk-menu-option.c -fPIC -DPIC -o .libs/gtk-menu-option.o
In file included from gtk-menu-option.c:22:
gtk-menu-option.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'gtk_menu_option_get_type'
gtk-menu-option.c: In function 'gtk_menu_option_destroy':
gtk-menu-option.c:72: warning: implicit declaration of
function 'GTK_CHECK_CAST'
gtk-menu-option.c:72: warning: nested extern declaration of 'GTK_CHECK_CAST'
gtk-menu-option.c:72: warning: implicit declaration of
function 'gtk_menu_option_get_type'
gtk-menu-option.c:72: warning: nested extern declaration
of 'gtk_menu_option_get_type'
gtk-menu-option.c:72: error: expected expression before 'GtkMenuOption'
gtk-menu-option.c:72: warning: initialization makes pointer from integer
without a cast
gtk-menu-option.c: In function 'gtk_menu_option_finalize':
gtk-menu-option.c:90: error: expected expression before 'GtkMenuOption'
gtk-menu-option.c:90: warning: initialization makes pointer from integer
without a cast
gtk-menu-option.c: In function 'gtk_menu_option_init':
gtk-menu-option.c:126: error: expected expression before 'GtkMenuOption'
gtk-menu-option.c:126: warning: initialization makes pointer from integer
without a cast
gtk-menu-option.c: At top level:
gtk-menu-option.c:134: warning: no previous prototype
for 'gtk_menu_option_get_type'
gtk-menu-option.c:134: error: conflicting types for 'gtk_menu_option_get_type'
gtk-menu-option.c:72: error: previous implicit declaration
of 'gtk_menu_option_get_type' was here
gtk-menu-option.c: In function 'gtk_menu_option_construct':
gtk-menu-option.c:181: warning: implicit declaration of
function 'GTK_CHECK_TYPE'
gtk-menu-option.c:181: warning: nested extern declaration of 'GTK_CHECK_TYPE'
make[2]: *** [gtk-menu-option.lo] Error 1
make[2]: Leaving directory
`/usr/src/build-08/vpn-08/sources-vpnc08/gimp+sane-vpnc-08/libexif-gtk-0.3.5/gtk-extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/build-08/vpn-08/sources-vpnc08/gimp+sane-vpnc-08/libexif-gtk-0.3.5'
make: *** [all] Error 2
################
helpful suggestions will be appreciated.
lux-integ
--
###################################
“Common sense teaches that booksellers should not speculate in hops,
or bankers in turpentine; that railways should not be promoted by maiden
ladies, or canals by beneficed clergymen ....”
Walter Bagehot-economist: 1826-1877
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page