I've no real clue on that---I'll put it back on the list in case somebody else happens to know.

On Sep 2, 2008, at 8:20 PM, Rishi Graham wrote:

For lack of a better idea, I'm poking around in the freetype219 build area trying to figure out why that library was compiled in / usr/local. The following line in /sw/src/fink.build/ freetype219-2.3.7-1/freetype-2.3.7/builds/unix/unix-def.mk seems suspect:

# Standard installation variables.
#
prefix       := /usr/local
exec_prefix  := ${prefix}
libdir       := ${exec_prefix}/lib

Can you tell me how unix-def.mk is generated? Maybe I have some environment variable set incorrectly or something.

Thanks,
-Rishi.

On Sep 2, 2008, at 3:27 PM, Alexander Hansen wrote:

So if you try rebuilding freetype219, your error is identical?

On Sep 2, 2008, at 6:22 PM, Rishi Graham wrote:

Hi again,

So I finally got through the svn foolishness, had to update a couple of other things. That didn't cut it. So I got a list of all dependencies using your script, and the list does not include / usr/local anywhere! I'm starting to panic a bit. Do you have any other ideas?

Thanks again for all your help!
-Rishi.

On Sep 2, 2008, at 1:08 PM, Alexander Hansen wrote:

The script is attached. Basically, you give it the name of an installed package, and it outputs whatever libraries the executables or dynamic libraries in it link to. You might do something like

fink list -it | grep -v " p " | grep -v "\*i\*" | grep -v "\[" | xargs fink-check-deps.plx

and then pipe the output into a grep for /usr/local


<fink-check-deps.plx>

Oh, and I forgot to reply to what you've found already. Make sure to *rebuild* the packages (via "fink rebuild"), not just *reinstall* them. And the libwww* files come from libwww. You can tell which package a file comes from by using

dpkg -S <filename>


On Sep 2, 2008, at 3:44 PM, Rishi Graham wrote:

Looks like none of the .la files contain "/usr/local". A simple grep of all files in the /sw/lib directory brings up 3 files (and 3 symbolic links to them). The libsvn_repos file must just be for the svn package, which I will try reinstalling. The other two are libwwwapp and libwwwcore. Any idea what package that might belong to? Or you could send me your perl script.

Thanks,
-Rishi.

On Sep 2, 2008, at 12:29 PM, Alexander Hansen wrote:

The excerpt that I posted already contains the first occurrence of /usr/local in your output, and it otherwise appears not significantly different from a build on my own system until that point; so there's probably no need to repost it.

I would hazard a guess that you may have a "tainted" libtool archive file (.la file) in your Fink tree (meaning one that references /usr/local), and that's setting how things build. Try the following one-liner

find /sw/lib -name "*.la" | xargs grep -l /usr/local | xargs dpkg -S | cut -d: -f1 | sort | uniq

That should tell you which packages, if any, need to be rebuilt; though there may be a few that don't make .la files which will take some more detective work to find. I've got a perl script that I can send you offlist that you could potentially use for that purpose.

On Sep 2, 2008, at 3:02 PM, Rishi Graham wrote:

That makes sense. Moving /usr/local didn't seem to work. Any other thoughts? Should I repost my request to the fink-devel list with just an exerpt of the output (since the log file was too long)?

Thanks,
-Rishi.

On Sep 2, 2008, at 11:52 AM, Alexander Hansen wrote:


On Sep 2, 2008, at 2:46 PM, Rishi Graham wrote:

Thanks for your help! I'll give that a try. Sorry for the cross-post, I was just trying to follow the directions.

-Rishi.



Sure--those are general directions; and it's not clear-cut how to proceed when the package is "maintained" by one of the fink lists. I usually just send it to the "maintainer" in that case.


Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter





Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter





Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter





Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to