LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-03-2007, 02:24 PM   #1
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Differences between Slackware 11 ../pkgconfig folders and their contents


This has been stymying (sp?) me for about an hour now.

The app is called 'gtkam' and it's a tar.bz2 archive. It's a little digital-camera dumping thingy.
It works great, and I can build it just fine using ./configure make make install. And it runs perfect.

However, I have been trying to use src2pkg to whip it into a .tgz and get it into my pkgtool, but the $#@%# thing won't work.

Now first, I have built SCORES of things with src2pkg, and have never encountered something like this, which is why I am here now.

Here's some paraphrased output from the console:
Code:
sh-3.1$ ./configure
...zoom zoom blah blah blah.. done!
...
Configuration (gtkam 0.1.14):

  Build
    Source code location:          .
    Compiler:                      gcc

  Features
    Use translations:              yes
    libgphoto2:                    yes
    bonobo support:                no (bonobo-activation, bononoboui libs)
    Gnome support:                 no (gnomeui lib)
    GTKAM_C_IDENTIFIER:            file:$(datadir)/gnome/help/gtkam/C/gtkam.xml
    Gimp support:                  yes (2.0)
    libexif:                       yes
    libexif-gtk:                   yes

You may run "make" and "make install" now.

sh-3.1# make
WTF !? Now it won't make anymore.. OK, I think it's time for a reboot; if I've got something out of whack behind the scenes, that'll bring it to the forefront..
Grr..

OK, CONT'D:

Code:
$ make
.. zoom zoom, making stuff.. Error:

/bin/sh ../libtool --tag=CC --mode=link gcc  -O2 -march=i686 -mtune=i686 -Wall -g  -o gtkam  gtkam-gtkam-debug.o gtkam-gtkam-exif.o gtkam-gtkam-main.o gtkam-main.o libgtkam.a -lexif -lm   -L/usr/local/lib -lexif-gtk -lexif -lm   /usr/share/pkgconfig/libgphoto2/libgphoto2.la -L/usr/local/lib -lgphoto2_port -lexif -lm -lusb
libtool: link: cannot find the library `/usr/share/pkgconfig/libgphoto2/libgphoto2.la' or unhandled argument `/usr/share/pkgconfig/libgphoto2/libgphoto2.la'
make[2]: *** [gtkam] Error 1
make[2]: Leaving directory `/var/cache/3rd.party.source/gtkam-digital-camera-tool/gtkam-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/cache/3rd.party.source/gtkam-digital-camera-tool/gtkam-0.1.14'
make: *** [all] Error 2
sh-3.1#
So as you can see, MAKE quits because it cannot find this 'libgphoto2' stuff.

To ensure that libgphoto2 in itself isn't the problem, I just rebuilt & reinstalled it right now, before running make on GTKAM again, and the above errors still resulted when I tried to build GTKAM. Incidentally, there were no make errors or any errors when I built libgphoto2..

As for this:
cannot find the library `/usr/share/pkgconfig/libgphoto2/libgphoto2.la' or unhandled argument `/usr/share/pkgconfig/libgphoto2/libgphoto2.la'

/usr/share/pkgconfig AND /usr/lib/pkgconfig both contain 'libgphoto2-uninstalled.pc' and 'libgphoto2.pc'

while 'libgphoto2.la' is located in:
Code:
sh-3.1# locate libgphoto2.la
/usr/lib/libgphoto2.la
/usr/local/lib/libgphoto2.la
sh-3.1#
..which AFAIK is where they are supposed to be.

Now, earlier today I DID have some sort of error about 'Link follows two paths ***corrupted library link***' which likely had something to do with my accidentally removing part of glib/glib2 from my system. I have since repaired that to the best of my knowledge, by reinstalling the offending pieces from my install DVD.

ldconfig works fine, returning no errors. The system boots and runs fine, and everything I have tested and checked thus far have proven to be OK. But something's amiss here..

Maybe something as simple as maybe /usr/share/pkgconfig is supposed to be symlinked to /usr/lib ??? I dunno, but am still looking. However if anyone has an idea what simple/stupid thing I have overloked here, i really appreciate your feedback..
Thanks

Last edited by GrapefruiTgirl; 10-03-2007 at 02:46 PM.
 
Old 10-03-2007, 02:59 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I think I have identified the problem..

LOL, yes folks, this is the sort of obscure thing we like to solve on our own, immediately after screaming to the world that "My Computer's Posessssssed!!!!"

OK, in the folder /usr/share/pkgconfig, according to my backup drive, USED TO contain one single file, called atk.pc, which contains:
Code:

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Atk
Description: Accessibility Toolkit
Version: 1.18.0
Requires: gobject-2.0 gmodule-no-export-2.0
Libs: -L${libdir} -latk-1.0
Cflags: -I${includedir}/atk-1.0
And so I restored it to my /usr/share/pkgconfig folder, and deleted anything else in there, and presto make MAKES again!!

Can anyone verufy that this is the only thing that's supposed to be in /usr/share/pkgconfig, and also check whether or not this file exists anywhere else on your Slackware 11.0 system??

Finally, for those of you better versed in the glib/glibc world, is this little file (or lack thereof) and its contents solely to blams for my problems, or should I go ahead and reinstall a bunch of stuff from my DVD just to be certain?

Thank you!!
 
Old 10-03-2007, 03:21 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Code:
root@spinelli:/usr/share/pkgconfig# ls -la
total 1064
drwxr-xr-x  2 root root  12288 2007-06-12 06:46 .
drwxr-xr-x 90 root root 126976 2007-09-30 22:58 ..
-rw-r--r--  1 root root    249 2007-04-20 21:44 ImageMagick++.pc
-rw-r--r--  1 root root    243 2007-04-20 21:44 ImageMagick.pc
-rw-r--r--  1 root root    246 2007-04-20 21:44 Wand.pc
-rw-r--r--  1 root root    406 2007-06-11 22:23 alsa.pc
-rw-r--r--  1 root root    271 2007-02-16 05:10 ao.pc
-rw-r--r--  1 root root    383 2007-02-16 04:30 apr-1.pc
-rw-r--r--  1 root root    398 2007-02-16 04:32 apr-util-1.pc
-rw-r--r--  1 root root    255 2007-04-08 03:52 atk.pc
-rw-r--r--  1 root root    761 2007-04-08 04:21 audacious.pc
-rw-r--r--  1 root root    212 2007-02-16 01:32 audiofile.pc
-rw-r--r--  1 root root    188 2007-02-14 08:35 bigreqsproto.pc
-rw-r--r--  1 root root    217 2007-01-25 04:25 blkid.pc
-rw-r--r--  1 root root    219 2007-04-23 23:56 bluez.pc
-rw-r--r--  1 root root    259 2007-02-21 03:49 caca.pc
-rw-r--r--  1 root root    264 2007-06-28 07:43 cairo-ft.pc
-rw-r--r--  1 root root    229 2007-06-28 07:43 cairo-pdf.pc
-rw-r--r--  1 root root    234 2007-06-28 07:43 cairo-png.pc
-rw-r--r--  1 root root    231 2007-06-28 07:43 cairo-ps.pc
-rw-r--r--  1 root root    225 2007-06-28 07:43 cairo-svg.pc
-rw-r--r--  1 root root    263 2007-06-28 07:43 cairo-xlib-xrender.pc
-rw-r--r--  1 root root    231 2007-06-28 07:43 cairo-xlib.pc
-rw-r--r--  1 root root    322 2007-06-28 07:43 cairo.pc
-rw-r--r--  1 root root    223 2007-01-25 04:25 com_err.pc
-rw-r--r--  1 root root    413 2007-04-03 21:54 compiz.pc
-rw-r--r--  1 root root    192 2007-02-14 08:35 compositeproto.pc
-rw-r--r--  1 root root    261 2007-02-21 03:49 cucul.pc
-rw-r--r--  1 root root    185 2007-02-14 08:35 damageproto.pc
-rw-r--r--  1 root root    383 2007-05-31 03:42 dbus-1.pc
-rw-r--r--  1 root root    288 2007-05-28 21:39 dbus-glib-1.pc
-rw-r--r--  1 root root    238 2007-02-14 08:46 dmx.pc
-rw-r--r--  1 root root    180 2007-02-14 08:35 dmxproto.pc
-rw-r--r--  1 root root    224 2007-01-25 04:25 e2p.pc
-rw-r--r--  1 root root    236 2007-06-21 06:31 esound.pc
-rw-r--r--  1 root root    180 2007-02-14 08:35 evieproto.pc
-rw-r--r--  1 root root    211 2007-01-25 04:25 ext2fs.pc
-rw-r--r--  1 root root    182 2007-02-14 08:35 fixesproto.pc
-rw-r--r--  1 root root    192 2007-02-14 08:35 fontcacheproto.pc
-rw-r--r--  1 root root    257 2007-04-16 21:20 fontconfig.pc
-rw-r--r--  1 root root    204 2007-02-14 08:46 fontenc.pc
-rw-r--r--  1 root root    184 2007-02-14 08:35 fontsproto.pc
-rw-r--r--  1 root root    166 2007-02-14 09:10 fontutil.pc
-rw-r--r--  1 root root    278 2007-04-22 19:42 freetype2.pc
-rw-r--r--  1 root root    233 2007-02-16 05:46 fribidi.pc
-rw-r--r--  1 root root    216 2007-06-21 07:40 gamin.pc
-rw-r--r--  1 root root    319 2007-06-14 03:45 gdk-2.0.pc
-rw-r--r--  1 root root    280 2007-06-14 03:45 gdk-pixbuf-2.0.pc
-rw-r--r--  1 root root    293 2007-06-14 03:45 gdk-pixbuf-xlib-2.0.pc
-rw-r--r--  1 root root    319 2007-06-14 03:45 gdk-x11-2.0.pc
-rw-r--r--  1 root root    240 2007-03-08 17:11 gdk.pc
-rw-r--r--  1 root root    363 2007-06-28 19:59 gdlib.pc
-rw-r--r--  1 root root    404 2007-05-28 19:12 gimp-2.0.pc
-rw-r--r--  1 root root    266 2007-05-28 19:12 gimpthumb-2.0.pc
-rw-r--r--  1 root root    297 2007-05-28 19:12 gimpui-2.0.pc
-rw-r--r--  1 root root    331 2007-05-04 22:00 glib-2.0.pc
-rw-r--r--  1 root root    233 2007-03-08 17:01 glib.pc
-rw-r--r--  1 root root    178 2007-02-14 08:35 glproto.pc
-rw-r--r--  1 root root    269 2007-06-27 02:21 gmime-2.0.pc
-rw-r--r--  1 root root    274 2007-05-04 22:00 gmodule-2.0.pc
-rw-r--r--  1 root root    274 2007-05-04 22:00 gmodule-export-2.0.pc
-rw-r--r--  1 root root    253 2007-05-04 22:00 gmodule-no-export-2.0.pc
-rw-r--r--  1 root root    230 2007-03-08 17:01 gmodule.pc
-rw-r--r--  1 root root    136 2007-05-04 05:18 gnome-icon-theme.pc
-rw-r--r--  1 root root    325 2007-06-19 20:42 gnt.pc
-rw-r--r--  1 root root    950 2007-05-08 01:55 gnutls-extra.pc
-rw-r--r--  1 root root    894 2007-05-08 01:55 gnutls.pc
-rw-r--r--  1 root root    241 2007-05-04 22:00 gobject-2.0.pc
-rw-r--r--  1 root root    241 2007-05-04 22:00 gthread-2.0.pc
-rw-r--r--  1 root root    232 2007-03-08 17:01 gthread.pc
-rw-r--r--  1 root root    346 2007-06-14 03:45 gtk+-2.0.pc
-rw-r--r--  1 root root    318 2007-06-14 03:45 gtk+-unix-print-2.0.pc
-rw-r--r--  1 root root    346 2007-06-14 03:45 gtk+-x11-2.0.pc
-rw-r--r--  1 root root    191 2007-03-08 17:11 gtk+.pc
-rw-r--r--  1 root root    103 2007-05-09 18:52 gtk-doc.pc
-rw-r--r--  1 root root    245 2007-03-14 01:34 gucharmap.pc
-rw-r--r--  1 root root    292 2007-06-28 01:48 hal-storage.pc
-rw-r--r--  1 root root    305 2007-06-28 01:48 hal.pc
-rw-r--r--  1 root root    225 2007-02-14 08:37 ice.pc
-rw-r--r--  1 root root    229 2007-04-07 19:59 ijs.pc
-rw-r--r--  1 root root    333 2007-02-15 06:12 imlib.pc
-rw-r--r--  1 root root    235 2007-02-15 06:12 imlibgdk.pc
-rw-r--r--  1 root root    184 2007-04-30 06:44 inputproto.pc
-rw-r--r--  1 root root    178 2007-02-14 08:35 kbproto.pc
-rw-r--r--  1 root root    216 2007-02-14 08:46 lbxutil.pc
-rw-r--r--  1 root root    207 2007-02-16 05:33 lcms.pc
-rw-r--r--  1 root root    232 2007-02-16 07:03 libIDL-2.0.pc
-rw-r--r--  1 root root    233 2007-05-04 22:19 libart-2.0.pc
-rw-r--r--  1 root root    240 2007-06-13 18:40 libcrypto.pc
-rw-r--r--  1 root root   1495 2007-05-07 04:11 libcurl.pc
-rw-r--r--  1 root root    253 2007-04-03 21:54 libdecoration.pc
-rw-r--r--  1 root root    242 2007-02-12 01:06 libdrm.pc
-rw-r--r--  1 root root    241 2007-06-13 19:15 libexif.pc
-rw-r--r--  1 root root    290 2007-03-24 06:23 libexslt.pc
-rw-r--r--  1 root root    244 2007-02-14 08:37 libfs.pc
-rw-r--r--  1 root root    186 2007-02-14 20:39 libgcj.pc
-rw-r--r--  1 root root    474 2007-06-21 05:46 libglade-2.0.pc
-rw-r--r--  1 root root    272 2007-01-24 22:45 libgpod-1.0.pc
-rw-r--r--  1 root root    306 2007-02-15 21:15 libgsf-1.pc
-rw-r--r--  1 root root    258 2007-02-16 03:10 libgtkhtml-2.0.pc
-rw-r--r--  1 root root    785 2007-02-16 06:38 libidn.pc
-rw-r--r--  1 root root    338 2007-06-02 19:30 libmcs.pc
-rw-r--r--  1 root root    327 2007-05-27 05:52 libmtp.pc
-rw-r--r--  1 root root    238 2007-02-16 06:25 libmusicbrainz.pc
-rw-r--r--  1 root root    341 2007-05-27 05:59 libnjb.pc
-rw-r--r--  1 root root    270 2007-01-24 22:00 libpcre.pc
-rw-r--r--  1 root root    261 2007-01-24 22:00 libpcrecpp.pc
lrwxrwxrwx  1 root root     11 2007-07-07 11:52 libpng.pc -> libpng12.pc
-rw-r--r--  1 root root    218 2007-05-16 21:47 libpng12.pc
-rw-r--r--  1 root root    259 2007-02-15 06:20 librsvg-2.0.pc
-rw-r--r--  1 root root    255 2007-06-13 18:40 libssl.pc
-rw-r--r--  1 root root    268 2007-02-16 03:33 libstartup-notification-1.0.pc
-rw-r--r--  1 root root    200 2007-02-16 05:43 libusb.pc
-rw-r--r--  1 root root    327 2007-02-15 18:25 libvisual-0.4.pc
-rw-r--r--  1 root root    180 2007-06-29 01:27 libvolume_id.pc
-rw-r--r--  1 root root    264 2007-03-17 20:45 libwpd-0.8.pc
-rw-r--r--  1 root root    418 2007-03-17 20:45 libwpd-stream-0.8.pc
-rw-r--r--  1 root root    289 2007-06-12 06:46 libxine.pc
-rw-r--r--  1 root root    260 2007-05-07 03:59 libxml-2.0.pc
-rw-r--r--  1 root root    259 2007-03-24 06:23 libxslt.pc
-rw-r--r--  1 root root    278 2007-02-10 02:48 neon.pc
-rw-r--r--  1 root root    269 2007-02-16 06:19 ogg.pc
-rw-r--r--  1 root root    217 2007-02-14 08:46 oldx.pc
-rw-r--r--  1 root root    250 2007-05-16 00:26 openobex.pc
-rw-r--r--  1 root root    265 2007-06-13 18:40 openssl.pc
-rw-r--r--  1 root root    310 2007-05-04 22:05 pango.pc
-rw-r--r--  1 root root    264 2007-05-04 22:05 pangocairo.pc
-rw-r--r--  1 root root    285 2007-05-04 22:05 pangoft2.pc
-rw-r--r--  1 root root    256 2007-05-04 22:05 pangox.pc
-rw-r--r--  1 root root    282 2007-05-04 22:05 pangoxft.pc
-rw-r--r--  1 root root    283 2007-06-19 20:42 pidgin.pc
-rw-r--r--  1 root root    276 2007-06-24 07:39 pilot-link.pc
-rw-r--r--  1 root root    225 2007-04-12 02:24 poppler-cairo.pc
-rw-r--r--  1 root root    319 2007-04-12 02:24 poppler-glib.pc
-rw-r--r--  1 root root    249 2007-04-12 02:24 poppler-qt.pc
-rw-r--r--  1 root root    214 2007-04-12 02:24 poppler-splash.pc
-rw-r--r--  1 root root    215 2007-04-12 02:24 poppler.pc
-rw-r--r--  1 root root    198 2007-02-14 08:35 printproto.pc
-rw-r--r--  1 root root    169 2007-02-14 08:47 pthread-stubs.pc
-rw-r--r--  1 root root    308 2007-06-19 20:42 purple.pc
lrwxrwxrwx  1 root root     40 2007-07-07 11:52 qt-mt.pc -> /usr/lib/qt-3.3.8/lib/pkgconfig/qt-mt.pc
-rw-r--r--  1 root root    184 2007-03-07 19:46 randrproto.pc
-rw-r--r--  1 root root    187 2007-02-14 08:35 recordproto.pc
-rw-r--r--  1 root root    186 2007-02-14 08:35 renderproto.pc
-rw-r--r--  1 root root    190 2007-02-14 08:35 resourceproto.pc
-rw-r--r--  1 root root    192 2007-02-14 08:35 scrnsaverproto.pc
-rw-r--r--  1 root root    490 2007-04-11 22:02 sdl.pc
-rw-r--r--  1 root root    120 2007-06-05 01:51 shared-mime-info.pc
-rw-r--r--  1 root root    246 2007-06-02 01:24 sm.pc
-rw-r--r--  1 root root    227 2007-01-25 04:25 ss.pc
-rw-r--r--  1 root root    217 2007-05-23 09:59 system-tools-backends.pc
-rw-r--r--  1 root root    220 2007-02-15 23:12 taglib.pc
-rw-r--r--  1 root root    273 2007-02-16 06:42 theora.pc
-rw-r--r--  1 root root    195 2007-02-14 08:35 trapproto.pc
-rw-r--r--  1 root root    215 2007-01-25 04:25 uuid.pc
-rw-r--r--  1 root root    184 2007-02-14 08:35 videoproto.pc
-rw-r--r--  1 root root    288 2007-02-16 06:32 vorbis.pc
-rw-r--r--  1 root root    364 2007-02-16 06:32 vorbisenc.pc
-rw-r--r--  1 root root    390 2007-02-16 06:32 vorbisfile.pc
-rw-r--r--  1 root root    369 2007-06-10 00:42 vte.pc
-rw-r--r--  1 root root    226 2007-06-28 07:09 x11-xcb.pc
-rw-r--r--  1 root root    295 2007-06-28 07:09 x11.pc
-rw-r--r--  1 root root    232 2007-02-14 08:40 xau.pc
-rw-r--r--  1 root root    275 2007-02-14 08:41 xaw6.pc
-rw-r--r--  1 root root    275 2007-02-14 08:41 xaw7.pc
-rw-r--r--  1 root root    278 2007-02-14 08:41 xaw8.pc
-rw-r--r--  1 root root    211 2007-02-14 08:36 xbitmaps.pc
-rw-r--r--  1 root root    243 2007-03-30 01:12 xcb-composite.pc
-rw-r--r--  1 root root    234 2007-03-30 01:12 xcb-damage.pc
-rw-r--r--  1 root root    217 2007-03-30 01:12 xcb-dpms.pc
-rw-r--r--  1 root root    214 2007-03-30 01:12 xcb-glx.pc
-rw-r--r--  1 root root    167 2007-02-14 08:37 xcb-proto.pc
-rw-r--r--  1 root root    220 2007-03-30 01:12 xcb-randr.pc
-rw-r--r--  1 root root    223 2007-03-30 01:12 xcb-record.pc
-rw-r--r--  1 root root    223 2007-03-30 01:12 xcb-render.pc
-rw-r--r--  1 root root    221 2007-03-30 01:12 xcb-res.pc
-rw-r--r--  1 root root    238 2007-03-30 01:12 xcb-screensaver.pc
-rw-r--r--  1 root root    220 2007-03-30 01:12 xcb-shape.pc
-rw-r--r--  1 root root    214 2007-03-30 01:12 xcb-shm.pc
-rw-r--r--  1 root root    217 2007-03-30 01:12 xcb-sync.pc
-rw-r--r--  1 root root    220 2007-03-30 01:12 xcb-xevie.pc
-rw-r--r--  1 root root    234 2007-03-30 01:12 xcb-xf86dri.pc
-rw-r--r--  1 root root    244 2007-03-30 01:12 xcb-xfixes.pc
-rw-r--r--  1 root root    237 2007-03-30 01:12 xcb-xinerama.pc
-rw-r--r--  1 root root    225 2007-03-30 01:12 xcb-xlib.pc
-rw-r--r--  1 root root    223 2007-03-30 01:12 xcb-xprint.pc
-rw-r--r--  1 root root    220 2007-03-30 01:12 xcb-xtest.pc
-rw-r--r--  1 root root    219 2007-03-30 01:12 xcb-xv.pc
-rw-r--r--  1 root root    224 2007-03-30 01:12 xcb-xvmc.pc
-rw-r--r--  1 root root    252 2007-03-30 01:12 xcb.pc
-rw-r--r--  1 root root    186 2007-02-14 08:35 xcmiscproto.pc
-rw-r--r--  1 root root    291 2007-05-04 19:48 xcomposite.pc
-rw-r--r--  1 root root    311 2007-02-14 08:41 xcursor.pc
-rw-r--r--  1 root root    274 2007-04-13 21:38 xdamage.pc
-rw-r--r--  1 root root    240 2007-02-14 08:41 xdmcp.pc
-rw-r--r--  1 root root    253 2007-02-14 08:41 xevie.pc
-rw-r--r--  1 root root    249 2007-02-14 08:42 xext.pc
-rw-r--r--  1 root root    182 2007-02-14 08:35 xextproto.pc
-rw-r--r--  1 root root    196 2007-02-14 08:35 xf86bigfontproto.pc
-rw-r--r--  1 root root    188 2007-02-14 08:35 xf86dgaproto.pc
-rw-r--r--  1 root root    196 2007-02-14 08:35 xf86driproto.pc
-rw-r--r--  1 root root    190 2007-02-14 08:35 xf86miscproto.pc
-rw-r--r--  1 root root    190 2007-02-14 08:35 xf86rushproto.pc
-rw-r--r--  1 root root    196 2007-02-14 08:35 xf86vidmodeproto.pc
-rw-r--r--  1 root root    256 2007-02-14 08:42 xfixes.pc
-rw-r--r--  1 root root    281 2007-04-06 23:04 xfont.pc
-rw-r--r--  1 root root    265 2007-02-14 08:42 xfontcache.pc
-rw-r--r--  1 root root    294 2007-02-14 08:43 xft.pc
-rw-r--r--  1 root root    248 2007-04-12 03:58 xi.pc
-rw-r--r--  1 root root    258 2007-03-17 20:00 xinerama.pc
-rw-r--r--  1 root root    190 2007-02-14 08:35 xineramaproto.pc
-rw-r--r--  1 root root    244 2007-02-14 08:47 xkbfile.pc
-rw-r--r--  1 root root    245 2007-02-14 08:47 xkbui.pc
-rw-r--r--  1 root root    242 2007-02-14 08:43 xmu.pc
-rw-r--r--  1 root root    238 2007-02-14 08:43 xmuu.pc
-rw-r--r--  1 root root    261 2007-05-10 01:08 xorg-server.pc
-rw-r--r--  1 root root    242 2007-02-14 08:43 xp.pc
-rw-r--r--  1 root root    229 2007-02-14 08:44 xpm.pc
-rw-r--r--  1 root root    290 2007-02-14 08:44 xprintapputil.pc
-rw-r--r--  1 root root    269 2007-02-14 08:44 xprintutil.pc
-rw-r--r--  1 root root    208 2007-02-14 08:35 xproto.pc
-rw-r--r--  1 root root    210 2007-02-14 08:36 xproxymngproto.pc
-rw-r--r--  1 root root    268 2007-03-07 20:00 xrandr.pc
-rw-r--r--  1 root root    263 2007-02-14 08:44 xrender.pc
-rw-r--r--  1 root root    263 2007-02-14 08:44 xres.pc
-rw-r--r--  1 root root    258 2007-02-14 08:40 xscrnsaver.pc
-rw-r--r--  1 root root    277 2007-02-14 08:45 xt.pc
-rw-r--r--  1 root root    231 2007-02-14 08:47 xtrans.pc
-rw-r--r--  1 root root    245 2007-02-14 08:40 xtrap.pc
-rw-r--r--  1 root root    244 2007-02-14 08:45 xtst.pc
-rw-r--r--  1 root root    244 2007-02-14 08:45 xv.pc
-rw-r--r--  1 root root    256 2007-02-14 08:45 xvmc.pc
-rw-r--r--  1 root root    285 2007-02-14 08:46 xxf86dga.pc
-rw-r--r--  1 root root    270 2007-02-14 08:46 xxf86misc.pc
-rw-r--r--  1 root root    275 2007-02-14 08:46 xxf86vm.pc
and atk.pc contains
Code:
root@spinelli:/usr/share/pkgconfig# cat atk.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Atk
Description: Accessibility Toolkit
Version: 1.18.0
Requires: gobject-2.0 gmodule-no-export-2.0
Libs: -L${libdir} -latk-1.0
Cflags: -I${includedir}/atk-1.0
so you may need to find more files!

And on my box, only one copy of atk.pc
Code:
root@spinelli:/# slocate atk.pc
/usr/lib/pkgconfig/atk.pc
 
Old 10-03-2007, 03:35 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Well.... Beats the crap out of me, what happened to my /usr/share/pkgconfig directory. $hit..

However, I wonder if I am correct in assuming that /usr/lib/pkgconfig and /usr/share/pkgconfig contain identical collections of files? If you don't mind Xavier, are you able to check that for me too? No rush, please take your time. All "appears" stable here for the time being

I don't trust my backups for this particular instance, because GENERALLY when I discover a problem, it's because I **just now** caused it, but with this pkgconfig situation, I'm not sure when it actually occurred, or how long ago. My backups go back 7 days.

Thanks

PS - Here's my /usr/lib/pkgconfig (note it contains about HALF the number of files as your ../share/.. directory, but that's likely a matter of what stuff we have installed, yes?
Code:
*sh-3.1# ls -al
total 556
drwxr-xr-x  2 root root  4096 2007-10-03 18:39 .
drwxr-xr-x 92 root root 36864 2007-10-03 20:21 ..
-rw-r--r--  1 root root   249 2007-03-07 04:46 ImageMagick++.pc
-rw-r--r--  1 root root   243 2007-03-07 04:46 ImageMagick.pc
-rw-r--r--  1 root root   283 2005-07-21 18:26 WINGs.pc
-rw-r--r--  1 root root   246 2007-03-07 04:46 Wand.pc
-rw-r--r--  1 root root   391 2006-04-22 23:51 alsa.pc
-rw-r--r--  1 root root   271 2005-06-12 01:13 ao.pc
-rw-r--r--  1 root root   383 2006-07-29 23:09 apr-1.pc
-rw-r--r--  1 root root   398 2006-07-29 23:11 apr-util-1.pc
-rw-r--r--  1 root root   255 2007-05-30 22:55 atk.pc
-rw-r--r--  1 root root   239 2006-10-16 21:52 atkmm-1.6.pc
-rw-r--r--  1 root root   212 2007-06-02 01:38 audiofile.pc
-rw-r--r--  1 root root   217 2007-01-25 04:25 blkid.pc
-rw-r--r--  1 root root   415 2007-09-30 23:49 bonobo-activation-2.0.pc
-rw-r--r--  1 root root   291 2006-03-17 22:31 cairo.pc
-rw-r--r--  1 root root   223 2007-01-25 04:25 com_err.pc
-rw-r--r--  1 root root   228 2006-02-03 23:45 dbh-1.0.pc
-rw-r--r--  1 root root   224 2007-01-25 04:25 e2p.pc
-rw-r--r--  1 root root   236 2007-06-02 01:09 esound.pc
-rw-r--r--  1 root root   211 2007-01-25 04:25 ext2fs.pc
-rw-r--r--  1 root root   263 2007-04-25 20:12 fontconfig.pc
-rw-r--r--  1 root root   278 2007-04-23 18:29 freetype2.pc
-rw-r--r--  1 root root   233 2006-06-14 06:38 fribidi.pc
-rw-r--r--  1 root root   272 2007-09-30 22:25 gconf-2.0.pc
-rw-------  1 root root   318 2007-06-02 02:31 gdk-2.0.pc
-rw-r--r--  1 root root   279 2007-06-02 02:31 gdk-pixbuf-2.0.pc
-rw-r--r--  1 root root   292 2007-06-02 02:31 gdk-pixbuf-xlib-2.0.pc
-rw-r--r--  1 root root   318 2007-06-02 02:31 gdk-x11-2.0.pc
-rw-r--r--  1 root root   278 2002-02-24 04:43 gdk.pc
-rw-r--r--  1 root root   304 2006-10-16 21:52 gdkmm-2.4.pc
-rw-r--r--  1 root root   363 2007-06-27 06:09 gdlib.pc
-rw-r--r--  1 root root   404 2007-08-08 17:32 gimp-2.0.pc
-rw-r--r--  1 root root   266 2007-08-08 17:32 gimpthumb-2.0.pc
-rw-r--r--  1 root root   297 2007-08-08 17:32 gimpui-2.0.pc
-rw-r--r--  1 root root   156 2006-05-31 03:46 gkrellm.pc
-rw-r--r--  1 root root   330 2006-05-27 23:40 glib-2.0.pc
-rw-r--r--  1 root root   233 2002-10-22 04:28 glib.pc
-rw-r--r--  1 root root   283 2006-10-16 18:53 glibmm-2.4.pc
-rw-r--r--  1 root root   273 2006-05-27 23:40 gmodule-2.0.pc
-rw-r--r--  1 root root   273 2006-05-27 23:40 gmodule-export-2.0.pc
-rw-r--r--  1 root root   252 2006-05-27 23:40 gmodule-no-export-2.0.pc
-rw-r--r--  1 root root   230 2002-10-22 04:28 gmodule.pc
-rw-r--r--  1 root root   425 2005-07-08 20:01 gnet-2.0.pc
-rw-r--r--  1 root root   136 2007-05-04 04:00 gnome-icon-theme.pc
-rw-r--r--  1 root root   240 2006-05-27 23:40 gobject-2.0.pc
-rw-r--r--  1 root root   235 2006-05-27 23:40 gthread-2.0.pc
-rw-r--r--  1 root root   232 2002-10-22 04:28 gthread.pc
-rw-------  1 root root   337 2007-06-02 02:31 gtk+-2.0.pc
-rw-r--r--  1 root root   337 2007-06-02 02:31 gtk+-x11-2.0.pc
-rw-r--r--  1 root root   191 2002-02-24 04:43 gtk+.pc
-rw-r--r--  1 root root   103 2006-05-17 03:43 gtk-doc.pc
-rw-r--r--  1 root root   307 2006-10-16 21:52 gtkmm-2.4.pc
-rw-r--r--  1 root root   244 2004-10-19 00:26 gucharmap.pc
-rw-r--r--  1 root root   229 2006-09-18 08:27 ijs.pc
-rw-r--r--  1 root root   371 2005-02-02 19:46 imlib.pc
-rw-r--r--  1 root root   235 2005-02-02 19:46 imlibgdk.pc
-rw-r--r--  1 root root   207 2006-04-11 21:52 lcms.pc
-rw-r--r--  1 root root   232 2006-04-15 23:55 libIDL-2.0.pc
-rw-r--r--  1 root root   233 2005-03-27 00:02 libart-2.0.pc
-rw-r--r--  1 root root   432 2007-09-30 23:49 libbonobo-2.0.pc
-rw-r--r--  1 root root   240 2006-09-29 02:49 libcrypto.pc
-rw-r--r--  1 root root   285 2006-08-08 03:12 libcurl.pc
-rw-r--r--  1 root root   266 2007-10-03 18:14 libexif-gtk.pc
-rw-r--r--  1 root root   241 2007-06-13 19:12 libexif.pc
-rw-r--r--  1 root root   269 2006-06-14 02:52 libexslt.pc
-rw-r--r--  1 root root   186 2006-03-12 23:28 libgcj.pc
-rw-r--r--  1 root root   474 2006-04-15 22:23 libglade-2.0.pc
-rw-r--r--  1 root root   387 2007-10-03 18:39 libgphoto2.pc
-rw-r--r--  1 root root   370 2007-10-03 18:38 libgphoto2_port.pc
-rw-r--r--  1 root root   272 2007-02-06 05:51 libgpod-1.0.pc
-rw-r--r--  1 root root   306 2006-06-14 05:23 libgsf-1.pc
-rw-r--r--  1 root root   257 2005-05-01 22:55 libgtkhtml-2.0.pc
-rw-r--r--  1 root root   772 2006-08-16 19:36 libidn.pc
-rw-r--r--  1 root root   327 2007-02-08 01:21 libmtp.pc
-rw-r--r--  1 root root   238 2006-08-23 20:00 libmusicbrainz.pc
-rw-r--r--  1 root root   341 2006-09-11 05:52 libnjb.pc
-rw-r--r--  1 root root   270 2006-08-17 22:10 libpcre.pc
lrwxrwxrwx  1 root root    11 2007-06-08 20:44 libpng.pc -> libpng12.pc
-rw-r--r--  1 root root   218 2007-05-16 21:13 libpng12.pc
-rw-r--r--  1 root root   259 2006-06-14 06:27 librsvg-2.0.pc
-rw-r--r--  1 root root   255 2006-09-29 02:49 libssl.pc
-rw-r--r--  1 root root   268 2005-03-26 23:57 libstartup-notification-1.0.pc
-rw-r--r--  1 root root   200 2006-08-05 04:28 libusb.pc
-rw-r--r--  1 root root   327 2006-08-23 20:17 libvisual-0.4.pc
-rw-r--r--  1 root root   264 2007-03-27 01:44 libwpd-0.8.pc
-rw-r--r--  1 root root   418 2007-03-27 01:44 libwpd-stream-0.8.pc
-rw-r--r--  1 root root   335 2006-02-03 23:46 libxfce4mcs-client-1.0.pc
-rw-r--r--  1 root root   338 2006-02-03 23:46 libxfce4mcs-manager-1.0.pc
-rw-r--r--  1 root root   269 2006-02-03 23:45 libxfce4util-1.0.pc
-rw-r--r--  1 root root   331 2006-02-03 23:46 libxfcegui4-1.0.pc
-rw-r--r--  1 root root   289 2007-04-19 19:59 libxine.pc
-rw-r--r--  1 root root   246 2006-06-14 02:48 libxml-2.0.pc
-rw-r--r--  1 root root   259 2006-06-14 02:52 libxslt.pc
-rw-r--r--  1 root root   278 2006-09-18 20:14 neon.pc
-rw-r--r--  1 root root   269 2006-02-03 03:14 ogg.pc
-rw-r--r--  1 root root   265 2006-09-29 02:49 openssl.pc
-rw-r--r--  1 root root   310 2007-06-02 00:05 pango.pc
-rw-r--r--  1 root root   264 2007-06-02 00:05 pangocairo.pc
-rw-r--r--  1 root root   327 2007-06-02 00:05 pangoft2.pc
-rw-r--r--  1 root root   249 2006-10-16 21:52 pangomm-1.4.pc
-rw-r--r--  1 root root   277 2007-06-02 00:05 pangox.pc
-rw-r--r--  1 root root   303 2007-06-02 00:05 pangoxft.pc
lrwxrwxrwx  1 root root    40 2007-08-30 16:51 qt-mt.pc -> /usr/lib/qt-3.3.8/lib/pkgconfig/qt-mt.pc
-rw-r--r--  1 root root   490 2007-06-01 22:37 sdl.pc
-rw-r--r--  1 root root   302 2007-05-14 21:12 seamonkey-gtkmozembed.pc
-rw-r--r--  1 root root   275 2007-05-14 21:12 seamonkey-js.pc
-rw-r--r--  1 root root   288 2007-05-14 21:12 seamonkey-nspr.pc
-rw-r--r--  1 root root   288 2007-05-14 21:12 seamonkey-nss.pc
-rw-r--r--  1 root root   262 2007-05-14 21:12 seamonkey-plugin.pc
-rw-r--r--  1 root root   354 2007-05-14 21:12 seamonkey-xpcom.pc
-rw-r--r--  1 root root   197 2006-09-30 05:48 shared-mime-info.pc
-rw-r--r--  1 root root   276 2006-10-16 18:12 sigc++-2.0.pc
-rw-r--r--  1 root root   227 2007-01-25 04:25 ss.pc
-rw-r--r--  1 root root   220 2006-02-02 00:51 taglib.pc
-rw-r--r--  1 root root   273 2006-09-17 07:37 theora.pc
-rw-r--r--  1 root root   215 2007-01-25 04:25 uuid.pc
-rw-r--r--  1 root root   288 2006-02-03 03:15 vorbis.pc
-rw-r--r--  1 root root   364 2006-02-03 03:15 vorbisenc.pc
-rw-r--r--  1 root root   390 2006-02-03 03:15 vorbisfile.pc
-rw-r--r--  1 root root   176 2005-07-21 18:27 wmlib.pc
-rw-r--r--  1 root root   230 2005-07-21 18:26 wrlib.pc
-rw-r--r--  1 root root   327 2007-04-19 23:12 xcomposite.pc
-rw-r--r--  1 root root   456 2007-04-19 23:12 xcursor.pc
-rw-r--r--  1 root root   308 2007-04-19 23:12 xdamage.pc
-rw-r--r--  1 root root   295 2007-04-19 23:12 xevie.pc
-rw-r--r--  1 root root   324 2006-02-03 23:46 xfce-mcs-manager.pc
-rw-r--r--  1 root root   340 2006-02-03 23:47 xfce4-panel-1.0.pc
-rw-r--r--  1 root root   264 2006-02-03 23:49 xfce4-session-1.0.pc
-rw-r--r--  1 root root   263 2006-02-03 23:52 xffm-1.0.pc
-rw-r--r--  1 root root   295 2007-04-19 23:12 xfixes.pc
-rw-r--r--  1 root root   293 2007-04-19 23:12 xft.pc
-rw-r--r--  1 root root   235 2007-04-19 23:12 xrender.pc

Last edited by GrapefruiTgirl; 10-03-2007 at 03:39 PM.
 
Old 10-03-2007, 03:39 PM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
May as well add, I see several 'pkgconfig' folders....

/usr/lib/HERE
/usr/local/lib/HERE
/usr/X11R6/lib/HERE
and
/usr/share/HERE

Sheesh.. LOL what have I done
 
Old 10-03-2007, 03:46 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
I don't have /usr/share/pkgconfig at all. Don't look at me. My OS is very heavily modified, but still its core at least was Slackware.


Mine /usr/local/lib/pkgconfig contents (if you're interested):
Code:
ImageMagick++.pc
ImageMagick.pc
ORBit-2.0.pc
ORBit-CosNaming-2.0.pc
ORBit-idl-2.0.pc
ORBit-imodule-2.0.pc
WINGs.pc
Wand.pc
alsa.pc
ao.pc
art-sharp-2.0.pc
art-sharp.pc
atk.pc
atkmm-1.6.pc
audacious.pc
audiofile.pc
blkid.pc
bonobo-activation-2.0.pc
cairo.pc
camel-1.2.pc
camel-provider-1.2.pc
com_err.pc
cspi-1.0.pc
dbh-1.0.pc
dbus-1.pc
dbus-glib-1.pc
dbus-sharp.pc
deskbar-applet.pc
dotnet.pc
e2p.pc
eel-2.0.pc
enchant.pc
epiphany-1.8.pc
esound.pc
evolution-data-server-1.2.pc
evolution-plugin-2.4.pc
evolution-shell-2.4.pc
ext2fs.pc
firefox-gtkmozembed.pc
firefox-js.pc
firefox-nspr.pc
firefox-nss.pc
firefox-plugin.pc
firefox-xpcom.pc
fontconfig.pc
freetype2.pc
fribidi.pc
gail.pc
gaim.pc
gal-2.4.pc
gapi-2.0.pc
gapi.pc
gconf-2.0.pc
gconf-java.pc
gconf-sharp-2.0.pc
gconf-sharp.pc
gconfmm-2.6.pc
gdk-2.0.pc
gdk-pixbuf-2.0.pc
gdk-pixbuf-xlib-2.0.pc
gdk-x11-2.0.pc
gdk.pc
gdkmm-2.4.pc
gecko-sharp-2.0.pc
gecko-sharp.pc
gedit-2.16.pc
gimp-2.0.pc
gimpthumb-2.0.pc
gimpui-2.0.pc
gkrellm.pc
glade-sharp-2.0.pc
glade-sharp.pc
glib-sharp-2.0.pc
glibmm-2.4.pc
glitz-glx.pc
glitz.pc
gmodule-2.0.pc
gmodule-export-2.0.pc
gmodule-no-export-2.0.pc
gnet-2.0.pc
gnome-desktop-2.0.pc
gnome-doc-utils.pc
gnome-icon-theme.pc
gnome-keyring-1.pc
gnome-mag-1.0.pc
gnome-media-profiles.pc
gnome-mime-data-2.0.pc
gnome-pilot-2.0.pc
gnome-python-2.0.pc
gnome-python-extras-2.0.pc
gnome-sharp-2.0.pc
gnome-sharp.pc
gnome-speech-1.0.pc
gnome-system-tools.pc
gnome-vfs-2.0.pc
gnome-vfs-module-2.0.pc
gnome-vfs-sharp-2.0.pc
gnome-window-settings-2.0.pc
gnome2-java.pc
gnopernicus-1.0.pc
gnutls-extra.pc
gnutls.pc
gobject-2.0.pc
gok-1.0.pc
gstreamer-0.8.pc
gstreamer-control-0.8.pc
gstreamer-gconf-0.8.pc
gstreamer-interfaces-0.8.pc
gstreamer-libs-0.8.pc
gstreamer-media-info-0.8.pc
gstreamer-play-0.8.pc
gstreamer-plugins-0.8.pc
gswitchit.pc
gthread-2.0.pc
gtk+-2.0.pc
gtk+-x11-2.0.pc
gtk+.pc
gtk-doc.pc
gtk-dotnet-2.0.pc
gtk-engines-2.pc
gtk-sharp-2.0.pc
gtk-sharp.pc
gtkhex.pc
gtkhtml-sharp-2.0.pc
gtkhtml-sharp.pc
gtkmm-2.4.pc
gtksourceview-1.0.pc
gtksourceview-sharp-2.0.pc
gtkspell-2.0.pc
gucharmap.pc
hal-storage.pc
hal.pc
howl.pc
ijs.pc
imlib.pc
imlibgdk.pc
lcms.pc
libIDL-2.0.pc
libart-2.0.pc
libbonobo-2.0.pc
libbonoboui-2.0.pc
libcroco-0.6.pc
libcrypto.pc
libcurl.pc
libdv.pc
libebook-1.2.pc
libecal-1.2.pc
libedata-book-1.2.pc
libedata-cal-1.2.pc
libedataserver-1.2.pc
libedataserverui-1.2.pc
libegroupwise-1.2.pc
libexchange-storage-1.2.pc
libexif-gtk.pc
libexif.pc
libexslt.pc
libgail-gnome.pc
libgcj.pc
libgda-2.0.pc
libglade-2.0.pc
libgnome-2.0.pc
libgnome-menu.pc
libgnomecanvas-2.0.pc
libgnomecups-1.0.pc
libgnomecupsui-1.0.pc
libgnomedb-2.0.pc
libgnomeprint-2.2.pc
libgnomeprintui-2.2.pc
libgnomesu-1.0.pc
libgnomeui-2.0.pc
libgoffice-1.pc
libgphoto2.pc
libgsf-1.pc
libgtkhtml-2.0.pc
libgtkhtml-3.8.pc
libgtop-2.0.pc
libidn.pc
libloginhelper-1.0.pc
libmcs.pc
libmetacity-private.pc
libmpeg2.pc
libmpeg2convert.pc
libmusicbrainz.pc
libnautilus-burn.pc
libnautilus-extension.pc
libpanelapplet-2.0.pc
libpcre.pc
libpixman.pc
libplanner-1.pc
libpng.pc@
libpng12.pc
librsvg-2.0.pc
libsoup-2.2.pc*
libspi-1.0.pc
libssl.pc
libstartup-notification-1.0.pc
libsvg-cairo.pc
libsvg.pc
libtasn1.pc
libuser.pc
libwnck-1.0.pc
libwpd-0.8.pc
libwpd-stream-0.8.pc
libxfce4mcs-client-1.0.pc
libxfce4mcs-manager-1.0.pc
libxfce4util-1.0.pc
libxfcegui4-1.0.pc
libxine.pc
libxklavier.pc
libxml-2.0.pc
libxslt.pc
mint.pc
mono-cairo.pc
mono-nunit.pc
mono.pc
monodoc.pc
mozilla-gtkmozembed.pc
mozilla-js.pc
mozilla-nspr.pc
mozilla-nss.pc
mozilla-plugin.pc
mozilla-xpcom.pc
ogg.pc
openssl.pc
pango.pc
pangocairo.pc
pangoft2.pc
pangomm-1.4.pc
pangox.pc
pangoxft.pc
polyplib-error.pc
polyplib-glib-mainloop.pc
polyplib-glib12-mainloop.pc
polyplib-mainloop.pc
polyplib-simple.pc
polyplib.pc
poppler-cairo.pc
poppler-glib.pc
poppler-qt.pc
poppler-splash.pc
poppler.pc
pygobject-2.0.pc
pygtk-2.0.pc
pyorbit-2.pc
rhythmbox.pc
rsvg-sharp-2.0.pc
rsvg-sharp.pc
shared-mime-info.pc
sigc++-2.0.pc
speex.pc
ss.pc
system-tools-backends.pc
taglib.pc
theora.pc
tomboy-plugins.pc
totem-plparser.pc
uuid.pc
vorbis.pc
vorbisenc.pc
vorbisfile.pc
vte-sharp-2.0.pc
vte-sharp.pc
vte.pc
wmlib.pc
wrlib.pc
xcomposite.pc
xcursor.pc
xdamage.pc
xevie.pc
xfce-mcs-manager.pc
xfce4-panel-1.0.pc
xfce4-session-1.0.pc
xffm-1.0.pc
xfixes.pc
xft.pc
xml2po.pc
xmms2-client-cpp-glib.pc
xmms2-client-cpp.pc
xmms2-client-ecore.pc
xmms2-client-glib.pc
xmms2-client.pc
xmms2-plugin.pc
xrender.pc
I also have /usr/lib/pkgconfig. When you use prefix (e.g. /usr/local or /usr) and when you don't *.pc files are written to different locations (/usr/local/lib/pkconfig and /usr/lib/pkconfig), that's why you sometimes need to export PKG_CONFIG_PATH to show where the right pc file resides. I think, atk.pc has nothing to do with it.


Code:
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Atk
Description: Accessibility Toolkit
Version: 1.10.3
Requires: gobject-2.0 gmodule-no-export-2.0
Libs: -L${libdir} -latk-1.0
Cflags: -I${includedir}/atk-1.0
Code:
slocate atk.pc
/ntfs-c/cygwin/lib/pkgconfig/atk.pc
/usr/lib/pkgconfig/atk.pc

Last edited by Alien_Hominid; 10-03-2007 at 03:58 PM. Reason: More info added
 
Old 10-03-2007, 03:56 PM   #7
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Thanks for that, A_H ;-]
Not sure if it helps me or not.. my usr/local/lib/pkgconfig folder is all but empty, except for libexif-gtk.pc and libgphoto2.pc, both of which I installed again within the past hour, but ALSO both of which I first installed a week or two ago..


I think, even though my Slack isn't quite stock anymore, I would benefit from seeing what someone who still runs Slacl 11.0 has in their pkgconfig folders.. Anyone ?
 
Old 10-03-2007, 04:05 PM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
So probably it's not src2pkg fault at least.
 
Old 10-03-2007, 04:10 PM   #9
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by Alien_Hominid View Post
So probably it's not src2pkg fault at least.
No, it absolutely isn't, but I can't change the thread title (atleast, last times I tried to change a thread title it didn't work)..

And I didn't see how it could have been from the start of this, as src2pkg has always (and even through this episode) still build other packages just fine.

I'm sure that whatever has occurred here (read: whatever I have borked) is at system-level, and prolly if it IS still borked, will affect me in weird ways at weird times, until I figure it out.

For the record, src2pkg is fantastic.
 
Old 10-03-2007, 04:14 PM   #10
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Just add all three 3 (or 4) pkgconfig directories to the PKG_CONFIG_PATH environmental variable and it should be ok, though no guarantees are given. You can add these to bash_profile.

Last edited by Alien_Hominid; 10-03-2007 at 04:15 PM.
 
Old 10-03-2007, 04:29 PM   #11
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hey, you may be onto something..

Code:
*sh-3.1# echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig:    /usr/lib/pkgconfig:    /opt/kde/lib/pkgconfig
sh-3.1#
There's my current, (default??) config path.

/usr/lib/pkgconfig contains the 'whole collection'.
/usr/local/lib/pkgconfig contains 4 items.
opt/kde/lib/pkgconfig is irrelevant to this discussion, I believe.

So, what if I were to make /usr/local/lib/pkgconfig a SYMLINK to /usr/lib/pkgconfig (after making sure those 4 items are in there too) ?? This would work wouldn't it? It almost appears as though this is how it was supposed to be to begin with what do you think? Alternately I could simply remove the second folder entirely, and remove it from the CONFIG_PATH too, but the first idea may be safer.
 
Old 10-03-2007, 04:32 PM   #12
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
You can. But you were asking about /usr/share. I don't know about /user/share and what programs pc files are expected to be found there.
 
Old 10-03-2007, 04:38 PM   #13
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510

Rep: Reputation: 53
That's exactly how I make it and it works usally perfectly fine, as long as I don't forget to check ld.so.conf if I installed new stuff into strange places and call ldconfig afterwards.

And I call "pkg-config --list-all | grep whatever" from time to time to see, if and what pkg-config actually finds or try pkg-config --exists <packagename> to check a wrong going configure and so on...

And my /usr/share/pkgconfig is identical with /usr/lib/pkgconfig. Same size, same time stamp.

GG, what exactly are you trying to do? Is this still related to "I just need a few Gnome libs for something.."?
 
Old 10-03-2007, 04:47 PM   #14
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by Su-Shee View Post
That's exactly how I make it and it works usally perfectly fine, as long as I don't forget to check ld.so.conf if I installed new stuff into strange places and call ldconfig afterwards.

AFAIK I don't install anything to 'weird places' so I should be OK there. I run ldconfig occasionally, but it runs on boot anyhow.

And I call "pkg-config --list-all | grep whatever" from time to time to see, if and what pkg-config actually finds or try pkg-config --exists <packagename> to check a wrong going configure and so on...

I'll make a mental note of this-- thank you.

And my /usr/share/pkgconfig is identical with /usr/lib/pkgconfig. Same size, same time stamp.

Thank you even more for this verification! XX

GG, what exactly are you trying to do? Is this still related to "I just need a few Gnome libs for something.."?
"..related to.."-- YES. This problem developed after I removed what I *thought* were the items I had managed to install while dealing with that worm-farm of Gnome libs. It seems I may have removed one too many things, and then this issue subsequently arose today. I think with this info you have provided, as well as what Alien_H has suggested, I can get it fixed now.
NOTE - I am no longer "..in need of a few Gnome libs.."
Thanks to everyone in here-- now I'm on the 'road to recovery"

EDIT - Here's something weird: Why would my ld.so.conf file contain a path into a Trash bin? LMAO @ /root/.local/share/Trash/files/package-xmms/usr/lib

Last edited by GrapefruiTgirl; 10-03-2007 at 04:56 PM.
 
Old 10-03-2007, 04:54 PM   #15
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by Alien_Hominid View Post
You can. But you were asking about /usr/share. I don't know about /user/share and what programs pc files are expected to be found there.
Good point. And me neither.. But if they're ALL in there, then any one of them can be found at any given time though I think the symlink idea is good..

I have synced all the pkgconfig directories (except the KDE one) so hopefully I won't run into trouble by having the .pc files in all directories.

Let's see how this goes..
 
  


Reply



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
merge contents of folders minimole Linux - Newbie 5 05-25-2007 05:46 AM
How to compare two folders contents? rvoigt Linux - Newbie 6 01-07-2005 12:35 AM
removing folders & its contents wisdom Linux - General 11 12-24-2004 02:10 AM
ftp: Download folders and contents plisken Linux - General 3 02-20-2002 03:30 AM

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

All times are GMT -5. The time now is 10:26 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
Open Source Consulting | Domain Registration