[swfmill] building svn version
Martin Ficzel
mficzel at artec-berlin.de
Wed May 30 05:57:30 EDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Ficzel schrieb:
> Ralf Fuest schrieb:
>> Hello Martin, I don't own a mac, so I can't test if this works:
>
>> Try to change this line in autogen.sh: aclocal -I autoconfig/m4
>> to this: aclocal -I /opt/local/share/aclocal -I
>> /usr/share/aclocal
> that solved this problem:
both changes made the trick
i found out some other issues
there is no libtoolize on a mac ... the command is calles glibtoolize
and i added some lines from release.mac to my automake file
the automake-mac.sh is now looking like this
> #!/bin/sh
>
> set -x aclocal -I autoconfig/m4 glibtoolize --force --copy
> autoheader automake --add-missing --copy autoconf cd src xsltproc
> codegen/mk.xsl codegen/source.xml cd .. export CXXFLAGS="-isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" export
> CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch
> ppc" export LDFLAGS="-arch i386" ./configure
> --disable-dependency-tracking
now the autogen-mac.sh is running without errors but make stops with
this message
> ..... /usr/bin/ld: for architecture ppc /usr/bin/ld: can't locate
> file for: -lcrt0.o collect2: ld returned 1 exit status /usr/bin/ld:
> for architecture i386 /usr/bin/ld: can't locate file for: -lcrt0.o
> collect2: ld returned 1 exit status lipo: can't open input file:
> /var/tmp//ccNvZ55M.out (No such file or directory) make[3]: ***
> [swfmill] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: ***
> [all] Error 2 make: *** [all-recursive] Error 1
in the release-mac file there is a second call of g++ after make but i
don't understand the problem because im not a c programmer at all.
maybe this helps to find a solution regards Martin
PS: i think there should be autogen scripts for each supported
plattform and the release scripts should use them. currently the
release-mac script does'nt use the autogen at all.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGXUqKKzittp3xLw4RAjhYAJ44/Ew9uBvvC+5ucOpxavqKFxZZLwCgjmgs
0wAqWQqTgUZp9rUNY7B21XY=
=kCD+
-----END PGP SIGNATURE-----
More information about the swfmill
mailing list