Martin,

As you mentioned, there was a third directory where all the lib stuff were.

Anyway, this is what I found after a little investigation.

There are two qt3.info files; one in stalble and the other in the unstable.

The compile script of qt3.info in stable/main has this;

/usr/bin/find . -name Makefile -print0 | xargs -0 perl -pi -e 's,-I %p/include/qt,,g'

The same compile script of qt3.info in unstable/main  has your script;

pushd %p; FixifiedSW=`/bin/pwd`; popd
/usr/bin/find . -name Makefile -print0 | xargs -0 perl -pi - e "s,\\$\\(INSTALL_ROOT\\)$FixifiedS
W,\\$\\(INSTALL_ROOT\\)%p,g"

Using the compile script of qt3.info in unstable/main cured the problem.

Thanks.

Aki






On Apr 20, 2006, at 3:46 PM, Martin Costabel wrote:

Benjamin Reed wrote:
Aki Hoji wrote:
drwxr-xr-x   12 root  admin   408 Apr 20 11:06 bin
lrwxr-xr-x 1 root admin 14 Apr 20 11:06 include -> /sw/ include/qt
drwxr-xr-x    2 root  admin    68 Apr 20 11:06 lib
drwxr-xr-x   63 root  admin  2142 Apr 20 11:06 mkspecs
drwxr-xr-x   12 root  admin   408 Apr 20 11:06 phrasebooks
drwxr-xr-x    5 root  admin   170 Apr 20 11:06 plugins
drwxr-xr-x    6 root  admin   204 Apr 20 11:06 templates
drwxr-xr-x   17 root  admin   578 Apr 20 11:06 translations

But there is nothing in /qt3/lib
weird, so I guess the make install didn't work.  :P

I think I know what this is. Aki, I bet that in your directory /sw/ src/fink.build/root-qt3-3.3.6-24/, alongside with the two directories "DEBIAN" and "sw", you find a third directory, and inside that one you will somewhere find the missing libraries.

This is that old horrible fileFixify crap with which qt3 has always managed to break "make install" for fink, as soon as /sw is a symlink to some other directory. Thus if you have the symlink /sw->/some/other/fink/directory, qt3's make install puts some of its stuff into /sw/src/fink.build/root-qt3-3.3.6-24/sw and some other stuff into /sw/src/fink.build/root-qt3-3.3.6-24/some/other/ fink/directory.

The decision what goes where depends additionally on the situation on your harddisk: The bad install-directory is chosen only if you have certain things installed in /sw/lib/. I suppose this fileFixify stuff (which replaces symlinks by the "true" files) is supposed to be useful for something, but it is terrible for package building.

In the qt3mac CompileScript, I have the following lines which take care of this problem (but this is not obvious, I am not sure if it works in all situations):

# attempt to counterfix qmake's warped fileFixify logic that makes install break # when %p is a symlink and something exists already at -libdir or - datadir etc
# second, better attempt at unfixifying %p:
 pushd %p; FixifiedSW=`/bin/pwd`; popd
/usr/bin/find . -name Makefile -print0 | xargs -0 perl -pi -e "s,\\ $\\(INSTALL_ROOT\\)$FixifiedSW,\\$\\(INSTALL_ROOT\\)%p,g"
#

I suppose qt3-3.3.6 will have to do something similar.

--
Martin





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to