Subject: qt3-libs not installing
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 05/19/2003 18:07:48
I built and tried to install qt3-libs the otherday but it failed, so today
I updated CVS (Makefile,v 1.17), but still receive:

libtool: link: warning:
`/usr/pkg/tmp/pkgsrc/x11/qt3-libs/work.rainier/.buildlink/lib/libpthread.la'
seems to be moved

*** Warning: This library needs some functionality provided by -lGLU.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libqjpeg.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru ../../../imageformats/.libs/libqjpeg.a
.obj/release-shared-mt/main.o
ranlib ../../../imageformats/.libs/libqjpeg.a
creating ../../../imageformats/libqjpeg.la
(cd ../../../imageformats/.libs && rm -f libqjpeg.la && ln -s
../libqjpeg.la libqjpeg.la)
install -c -o root -g wheel -m 444
/usr/pkg/tmp/pkgsrc/x11/qt3-libs/work.rainier/qt-x11-free-3.1.2/plugins/imageformats/.libs/libqjpeg.soT
/usr/X11R6/qt3/plugins/imageformats/libqjpeg.so
install:
/usr/pkg/tmp/pkgsrc/x11/qt3-libs/work.rainier/qt-x11-free-3.1.2/plugins/imageformats/.libs/libqjpeg.soT:
stat: No such file or directory
*** Error code 1


$ ls -l
/usr/pkg/tmp/pkgsrc/x11/qt3-libs/work.rainier/qt-x11-free-3.1.2/plugins/imageformats/.libs/
total 158
-rw-r--r--  1 reed  wheel  13626 May 19 18:00 libqjpeg.a
lrwxr-xr-x  1 root  wheel     14 May 19 18:00 libqjpeg.la ->
../libqjpeg.la
-rw-r--r--  1 root  wheel   1241 May 19 18:00 libqjpeg.lai
-rw-r--r--  1 reed  wheel   1223 May 19 17:57 libqjpeg.lai.blsav
-rwxr-xr-x  1 reed  wheel  22269 May 19 17:57 libqjpeg.so
-rw-r--r--  1 reed  wheel  12620 May 19 17:57 libqmng.a
lrwxr-xr-x  1 reed  wheel     13 May 19 17:57 libqmng.la -> ../libqmng.la
-rw-r--r--  1 reed  wheel   1074 May 19 17:57 libqmng.lai
-rw-r--r--  1 reed  wheel   1262 May 19 17:57 libqmng.lai.blsav
-rwxr-xr-x  1 reed  wheel  21565 May 19 17:57 libqmng.so

When I did make install again, it stops instead at:

install -c -o root -g wheel -m 444
/usr/pkg/tmp/pkgsrc/x11/qt3-libs/work.rainier/qt-x11-free-3.1.2/plugins/imageformats/.libs/libqmng.soT
/usr/X11R6/qt3/plugins/imageformats/libqmng.so
install:
/usr/pkg/tmp/pkgsrc/x11/qt3-libs/work.rainier/qt-x11-free-3.1.2/plugins/imageformats/.libs/libqmng.soT:
stat: No such file or directory

Then I did the "make install" for the third time in a row (no clean). And
it finished successfully and was registered. It did say:

ls: /usr/X11R6/qt3/plugins/imageformats/libqjpeg.so: No such file or
directory
ls: /usr/X11R6/qt3/plugins/imageformats/libqmng.so: No such file or
directory
===> Registering installation for qt3-libs-3.1.2nb1
pkg_create: can't stat `/usr/X11R6/qt3/plugins/imageformats/libqjpeg.so'
pkg_create: can't stat `/usr/X11R6/qt3/plugins/imageformats/libqmng.so'


Any thoughts before I send-pr?


   Jeremy C. Reed
   http://www.reedmedia.net/