On Jul 29, 2008, at 5:13 PM, Harry van der Wolf wrote:
One last thing to check is whether Macports /opt/local/bin comes
before /usr/bin (where Aplle bison resides) in your PATH.
From the terminal do a "set | grep PATH"
It should have /opt/local/bin as first entry, otherwise it will
still pick the "old" binaries from Apple and Xcode.
If it already has /opt/local/bin before /usr/bin, I'm out of options.
If it doesn't have has /opt/local/bin before /usr/bin, change
your .profile in your home directory with vi or pico. If you don't
want to change your .profile you can temporarily override the patch
in your terminal by issueing:
"export PATH=/opt/local/bin;/bin:/sbin:/usr/bin:/usr/sbin;"
PATH=/opt/local/bin:/opt/local/sbin:/Users/mike/bin:/usr/X11R6/bin:/
usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
I tried compiling in on my laptop, which has Mac OS 10.5.2 (the other
machine has 10.4) and interestingly enough, I get a different error
when compiling. On the leopard machine the error is "ld: symbol(s)
not found" and what I think is a different point in the compilation.
I'll contact the author of the software and see if he has any tips
Mike
Harry
2008/7/29 Michael Thon <[EMAIL PROTECTED]>
This is most probably a bison bug (solved Febr 2008 for OSX). The
bison version that comes with XCode is too old. Try using the bison
from macports: "sudo port install bison" and try again.
And/or "sudo port install flex" since the error mentioned flex.
If you do get this to compile on Mac OS X, please consider writing a
portfile so that other Mac users can benefit without having to figure
it out on their own. Or, at least tell us here what you had to do and
someone else can write a portfile. Or you can file a port request
ticket and provide your notes there.
Still no joy. I already had bison and flex installed. I recompiled
then with port -f upgrade bison flex just to be sure but
compilation still stops at the same point.
If I can get it to compile I will definitely write a portfile for
it. I have portfiles for a few other packages that I need to share
too.
Mike
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users