LinuxQuestions.org
Help answer threads with 0 replies.
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 02-16-2008, 10:34 AM   #1
valebilris
LQ Newbie
 
Registered: Jan 2008
Location: north-east Italy
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
some configure error


Question No. 1:
I'm having a hard time with getting gnome-vfs-2.21.90 installed on my Slackware-current (two months ago). I need it for gtkpod. I have installed some dependencies like
gail-1.21.5 GConf-2.21.90 libgnomecanvas-2.20.1.1 ORBit2-2.14.12 and gnome-mime-data-2.18.0. when ./configure -ing gnome-vfs I get the following error:

Code:
checking for LIBGNOMEVFS... configure: error: Package requirements (glib-2.0 >= 2.9.3 gmodule-no-export-2.0 >= 2.9.3 gthread-2.0 >= 2.9.3 gobject-2.0 >= 2.9.3 gconf-2.0 >= 1.1.1 libxml-2.0 >= 2.6.0 gnome-mime-data-2.0 dbus-glib-1 >= 0.60) were not met:

No package 'gnome-mime-data-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBGNOMEVFS_CFLAGS
and LIBGNOMEVFS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
but I have installed gnome-mime-data-2.18.0 without errors.
I got it working, don't remember how, with Slackware 11 on my old notebook.


Question No. 2:
I cannot make pommed. I have no problem making wmomme but with pommed I get:

Code:
$ make pommed
make -C pommed OFLIB=
make[1]: Entering directory `/dut_el_rest/tmp/pommed-1.15/pommed'
gcc -pthread -ldbus-1   -lasound   -laudiofile -lm   -lconfuse   -lz -lsmbios  pommed.o cd_eject.o evdev.o conffile.o audio.o dbus.o power.o beep.o video.o mactel/x1600_backlight.o mactel/gma950_backlight.o mactel/nv8600mgt_backlight.o mactel/kbd_backlight.o mactel/ambient.o mactel/acpi.o /usr/lib/libpci.a   -o pommed
conffile.o: In function `config_load':
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:256: undefined reference to `cfg_init'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:267: undefined reference to `cfg_set_validate_func'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:274: undefined reference to `cfg_set_validate_func'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:275: undefined reference to `cfg_set_validate_func'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:277: undefined reference to `cfg_set_validate_func'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:278: undefined reference to `cfg_set_validate_func'
conffile.o:/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:280: more undefined references to `cfg_set_validate_func' follow
conffile.o: In function `config_load':
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:304: undefined reference to `cfg_parse'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:322: undefined reference to `cfg_getsec'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:323: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:332: undefined reference to `cfg_getsec'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:333: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:334: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:335: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:338: undefined reference to `cfg_getsec'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:339: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:340: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:341: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:345: undefined reference to `cfg_getsec'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:346: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:347: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:348: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:352: undefined reference to `cfg_getsec'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:353: undefined reference to `cfg_getstr'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:354: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:355: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:356: undefined reference to `cfg_getbool'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:357: undefined reference to `cfg_getstr'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:358: undefined reference to `cfg_getstr'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:359: undefined reference to `cfg_getstr'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:362: undefined reference to `cfg_getsec'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:363: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:364: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:365: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:366: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:367: undefined reference to `cfg_getbool'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:368: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:371: undefined reference to `cfg_getsec'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:372: undefined reference to `cfg_getbool'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:373: undefined reference to `cfg_getstr'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:376: undefined reference to `cfg_getsec'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:377: undefined reference to `cfg_getbool'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:378: undefined reference to `cfg_getstr'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:382: undefined reference to `cfg_getsec'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:383: undefined reference to `cfg_getbool'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:386: undefined reference to `cfg_free'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:313: undefined reference to `cfg_free'
conffile.o: In function `config_validate_string':
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:183: undefined reference to `cfg_opt_size'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:183: undefined reference to `cfg_opt_getnstr'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:187: undefined reference to `cfg_error'
conffile.o: In function `config_validate_positive_integer':
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:169: undefined reference to `cfg_opt_size'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:169: undefined reference to `cfg_opt_getnint'
/dut_el_rest/tmp/pommed-1.15/pommed/conffile.c:173: undefined reference to `cfg_error'
collect2: ld returned 1 exit status
make[1]: *** [pommed] Error 1
make[1]: Leaving directory `/dut_el_rest/tmp/pommed-1.15/pommed'
make: *** [pommed] Error 2
and

Code:
$ make gpomme
make -C gpomme
make[1]: Entering directory `/dut_el_rest/tmp/pommed-1.15/gpomme'

[...]

gcc -lpthread -ldbus-1   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lconfuse   -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    gpomme.o theme.o conffile.o ../client-common/dbus-client.o ../client-common/video-client.o   -o gpomme
conffile.o: In function `config_gui':
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:297: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:303: undefined reference to `cfg_getstr'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:317: undefined reference to `cfg_getstr'
conffile.o: In function `config_write':
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:214: undefined reference to `cfg_print'
conffile.o: In function `update_gui_config':
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:368: undefined reference to `cfg_setint'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:371: undefined reference to `cfg_setstr'
conffile.o: In function `config_load':
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:139: undefined reference to `cfg_free'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:141: undefined reference to `cfg_init'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:151: undefined reference to `cfg_set_validate_func'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:152: undefined reference to `cfg_set_validate_func'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:159: undefined reference to `cfg_parse'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:177: undefined reference to `cfg_getint'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:179: undefined reference to `cfg_getstr'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:182: undefined reference to `cfg_getstr'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:168: undefined reference to `cfg_free'
conffile.o: In function `config_validate_positive_integer':
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:83: undefined reference to `cfg_opt_size'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:83: undefined reference to `cfg_opt_getnint'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:87: undefined reference to `cfg_error'
conffile.o: In function `config_validate_string':
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:97: undefined reference to `cfg_opt_size'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:97: undefined reference to `cfg_opt_getnstr'
/dut_el_rest/tmp/pommed-1.15/gpomme/conffile.c:101: undefined reference to `cfg_error'
collect2: ld returned 1 exit status
make[1]: *** [gpomme] Error 1
make[1]: Leaving directory `/dut_el_rest/tmp/pommed-1.15/gpomme'
make: *** [gpomme] Error 2
I got the same with pommed 1.14.

Any help will be appreciated.
 
Old 02-16-2008, 08:36 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Answer #1:
GNOME-VFS is looking for the file gnome-mime-data-2.0.pc and can't find it. Generally metadata files are installed in /lib/pkgconfig, /usr/lib/pkgconfig. /usr/local/lib/pkgconfig, etc. Find out where gnome-mime-data-2.0.pc is installed and either move it to $GNOME_PREFIX/lib/pkgconfig or add it's installed path to the PKG_CONFIG_PATH environment variable.

Answer #2:
Just poking around the pommed code, it looks like those variable that are undefined are provided by libConfuse.
 
Old 02-17-2008, 04:01 PM   #3
valebilris
LQ Newbie
 
Registered: Jan 2008
Location: north-east Italy
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you so much for your answers. For #1
Code:
# ln -s /usr/local/share/pkgconfig/gnome-mime-data-2.0.pc /usr/lib/pkgconfig/gnome-mime-data-2.0.pc
did the job for me. don't know why it installed in /usr/local/share/pkgconfig (gnome-mime-data-2.0.pc is the only file there...).
Now it configures and compiles but it doesn't install giving the error:
Code:
[...]
-- Installing ./html/index.sgml
which: no gtkdoc-rebase in (/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/dut_el_rest/tmp/gnome-vfs-2.21.90/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/dut_el_rest/tmp/gnome-vfs-2.21.90/doc'
make: *** [install-recursive] Error 1
I tried with
Code:
./configure --disable-gtk-doc --disable-man --disable-man-gtk-doc
but got the same

For #2:
I have confuse-2.6 installed. How do I get it working?
 
Old 02-17-2008, 07:03 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
For #1:
Did you install gnome-mime-data without passing the --prefix switch to the configure script? If so, then /usr/local is the default prefix. I guess a symlink works, but the better solution is to add /usr/local/share/pkgconfig/ to your PKG_CONFIG_PATH.

gtkdoc-rebase is provided by gtk-doc version 1.9. What version of gtk-doc do you have installed? That's the price you may have to pay for using the development branch (2.21.90). If you don't want to use development software, use the 2.20.0 branch for GNOME packages.

For #2:
I just looked at the pommed code to see where those variables were defined. All I know is pommed includes confuse.h from libConfused. The confuse.h defines all the variables that pommed is complaining about. Do you have a confuse.h header with those variables defined?
 
Old 02-18-2008, 04:15 PM   #5
valebilris
LQ Newbie
 
Registered: Jan 2008
Location: north-east Italy
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
For #1:
I installed gnome-mime-data with no configure options ( ./configure && make && make install ), that is why I don't understand why it put himself there... anyway I installed gtk-doc 1.9 and it worked (and it put gtk-doc.pc in /usr/local/share/pkgconfig/ too ).

For #2:
I have a file called /usr/include/confuse.h but I-m not that good in c to clearly understand what's in it. I tried looking for cfg_'some_of_the_undefined_references' but I haven't found all of them in that file...
 
Old 02-19-2008, 10:27 AM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
For #1:
The default path for pkg-config to search for metadata files is libdir/pkgconfig:datadir/pkgconfig where libdir is the libdir where pkg-config and datadir is the datadir where pkg-config was installed. I suspect you have pkg-config installed in /usr, not /usr/local so /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig is not part of the PKG_CONFIG_PATH variable. You can add those directories (recommended) rather than creating links. Just stick this in your .bashrc or .bash_profile
Code:
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}${PKG_CONFIG_PATH+:}/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig"
For packages that use GNU autotools, /usr/local is the default install prefix. To use a different prefix such as /usr, pass --prefix=/usr to the configure script. So your commands would be
Code:
./configure --prefix=/usr && make && make install
For #2:
I suggest you start a new thread for this specific problem. I have no use for pommed, so don't have it installed on any of my machines to be able to help any further.
 
  


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
Conmpile error wen compile php:configure: error: libpng.(a|so) not found tanveer Linux - Software 5 02-03-2009 06:13 AM
./configure fails with: libz... configure: error: not found. erpe Linux - Software 17 10-11-2006 05:56 PM
./Configure "Permision Denied" error when atempting to use ./configure command in RH8 canegames Linux - Software 9 06-29-2006 01:20 AM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 12:35 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:50 PM.

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