I couldn't resist to give it another try. After solving the _environ
symbol (see attached patch) I got a bunch of other undefined symbols.
Maybe it helps a bit.
Note:
I'd have like to make a configure check for crt-externs.h, but since the
requirements to use the autotools are higher than OSX 10.4 by default
has, I decided to make it a __APPLE__ conditional.
Lina Pezzella wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Oct 26, 2005, at 2:59 PM, Grobian wrote:
Maybe I get a moment of brilliance and can fix it before the weekend,
but I think not.
If you have better things to take care of, don't worry about it. I've
dealt with the graphviz package before so I am fairly sure I can take
care of it this weekend. The only downside is that I have a very large
exam tomorrow and an interview on Friday, so it will need to wait until
Saturday or Sunday. But it's been waiting a while anyways, so I don't
suppose this is an issue.
- --Lina Pezzella
Gentoo Developer
Lina Pezzella wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Oct 26, 2005, at 12:28 PM, Grobian wrote:
there is a bug on it and I have been working on it today.
I already marked the deep dependencies of libsvg-cairo and cairo
itself in portage.
Cairo and libsvg-cairo compiled fine for me.
2.4 is not enough, it is vulnerable, so it should *not* be keyworded
at all. See the security bug on it.
Okie doke. Must've missed that e-mail. Thanks.
I have problems with graphviz 2.6, it fails during the linking part
on a undefined symbol:
<much bla bla>
libs/libexpr.lax/libvmalloc.a/vmtrace.o
.libs/libexpr.lax/libvmalloc.a/vmwalk.o -L/var/tmp/graphviz/lib
../../lib/cdt/.libs/libcdt.dylib -lc -install_name
/var/tmp/graphviz/lib/graphviz/libexpr.1.dylib
-Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.0
ld: warning -L: directory name (/var/tmp/graphviz/lib) does not exist
ld: Undefined symbols:
_environ
/usr/bin/libtool: internal link edit command failed
make[3]: *** [libexpr.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Yeah, I know. I will hopefully get to this this weekend. The only
reason I was interested in 2.4 was that it compiles out of the box.
- --Lina Pezzella
Gentoo Developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
iD8DBQFDX9BmNJ9STR9DbYERAp6KAKCGQK4soles5kmTXwM7sn3HME8a7QCeKoFM
XZGO2hEYMu2GeugCUIQ918Q=
=PBxQ
-----END PGP SIGNATURE-----
[EMAIL PROTECTED] mailing list
--Fabian Groffen
Gentoo for Mac OS X Project -- Interim Lead
[EMAIL PROTECTED] mailing list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
iD8DBQFDX+siNJ9STR9DbYERArLjAJ92NEXVcCGMiLuVEMjzYSaZkbBtZgCePvL7
8UZHXbAlWPvMYc7IDOTS5nw=
=Cu36
-----END PGP SIGNATURE-----
[EMAIL PROTECTED] mailing list
--
Fabian Groffen
Gentoo for Mac OS X Project -- Interim Lead
diff -Naur graphviz-2.6-orig/lib/ast/pathpath.c graphviz-2.6/lib/ast/pathpath.c
--- graphviz-2.6-orig/lib/ast/pathpath.c 2005-10-30 15:15:30.000000000
+0100
+++ graphviz-2.6/lib/ast/pathpath.c 2005-10-30 15:16:20.000000000 +0100
@@ -33,7 +33,12 @@
#include <unistd.h>
/* #include <option.h> */
+#ifdef __APPLE__
+#include <crt_externs.h>
+#define environ (*_NSGetEnviron())
+#else
extern char **environ;
+#endif
char **opt_info_argv;
char *pathpath(register char *path, const char *p, const char *a, int mode)