Hi!
I have a problem with compiling zexy. I have successfully compiled Pd-Vanilla on my Ubuntu 8.10 (amd64) and its directory is: ~/install/pd-0-42-4/ And pd also found the extras when I put the path to /usr/local/lib/pd/extra/...
So I tried to install zexy and downloaded it via CVS following these instructions: http://puredata.info/Members/jb/ext-doc
I got stuck after "make" receiving this error message:
ath=sse -msse -c -o zexy.o zexy.c gcc -export_dynamic -shared -o zexy.pd_linux *.o -lm -lc /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000004e10 strip --strip-unneeded zexy.pd_linux cp zexy.pd_linux ..
And after "make install" I got this:
xyz@xyz-laptop:~/externals/zexy/src$ sudo make install [sudo] password for xyz: gcc -export_dynamic -shared -o zexy.pd_linux *.o -lm -lc /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000004e10 strip --strip-unneeded zexy.pd_linux cp zexy.pd_linux .. ./makealias.sh ../src/alias ../src ../reference ./makealias.sh: 24: Syntax error: "(" unexpected make: *** [alias-bin] Error 2
What can I do? Thank you! Martin
Martin Hiendl wrote:
Hi!
I have a problem with compiling zexy. I have successfully compiled Pd-Vanilla on my Ubuntu 8.10 (amd64) and its directory is: ~/install/pd-0-42-4/ And pd also found the extras when I put the path to /usr/local/lib/pd/extra/...
So I tried to install zexy and downloaded it via CVS following these instructions: http://puredata.info/Members/jb/ext-doc
this documentation is *outdated* you should chekout the sources with subversion rather than CVS (which is only there for legacy reasons)
getting zexy: % svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/zexy...
I got stuck after "make" receiving this error message:
ath=sse -msse -c -o zexy.o zexy.c gcc -export_dynamic -shared -o zexy.pd_linux *.o -lm -lc /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000004e10 strip --strip-unneeded zexy.pd_linux cp zexy.pd_linux ..
And after "make install" I got this:
xyz@xyz-laptop:~/externals/zexy/src$ sudo make install [sudo] password for xyz: gcc -export_dynamic -shared -o zexy.pd_linux *.o -lm -lc /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000004e10 strip --strip-unneeded zexy.pd_linux cp zexy.pd_linux .. ./makealias.sh ../src/alias ../src ../reference ./makealias.sh: 24: Syntax error: "(" unexpected make: *** [alias-bin] Error 2
What can I do?
the problem is that ubuntu has switched to zsh and makealias.sh used to be a bash-script. i believe this is fixed in subversion.
a hack to make it run with the old and outdated zexy is to change the first line of makealias.sh to "#!/bin/bash"
but better use the subversion version.
fgmasdr IOhannes
IOhannes m zmoelnig wrote:
the problem is that ubuntu has switched to zsh and makealias.sh used to be a bash-script. i believe this is fixed in subversion.
actually i found that it is not. until it is fixed, you have to manually fix the makealias.sh:
a hack to make it run with the old and outdated zexy is to change the first line of makealias.sh to "#!/bin/bash"
and of course, you should still use the svn version...
but better use the subversion version.
fgmasdr IOhannes
Thanks for your answer but unfortunately it didn't work for me.
I downloaded the svn and edited the makealias.sh to "#!/bin/bash". But after "make", I received this:
"[...] gcc -I. -DHAVE_CONFIG_H -DZEXY_LIBRARY -DPD -g -O2 -mms-bitfields -fPIC -mfpmath=sse -msse -c -o tabdump.o tabdump.c tabdump.c: In function ‘tabdump_bang’: tabdump.c:57: error: incompatible types in assignment make: *** [tabdump.o] Error 1 martin@martin-laptop:~$"
It was the same with "make everything".
Then I also edited the makesource.sh to "#!/bin/bash" but it was the same result.
Martin
-----Original Message----- From: IOhannes m zmoelnig zmoelnig@iem.at To: Martin Hiendl martin.hiendl@googlemail.com Cc: pd-list@iem.at Subject: Re: [PD] Problems compiling zexy Date: Mon, 23 Mar 2009 10:57:12 +0100
IOhannes m zmoelnig wrote:
the problem is that ubuntu has switched to zsh and makealias.sh used to be a bash-script. i believe this is fixed in subversion.
actually i found that it is not. until it is fixed, you have to manually fix the makealias.sh:
a hack to make it run with the old and outdated zexy is to change the first line of makealias.sh to "#!/bin/bash"
and of course, you should still use the svn version...
but better use the subversion version.
fgmasdr IOhannes
Martin Hiendl wrote:
Thanks for your answer but unfortunately it didn't work for me.
I downloaded the svn and edited the makealias.sh to "#!/bin/bash". But after "make", I received this:
i just noticed that i was a bit too paranoid when doing checks for the used Pd-version: it required at least 0.42
i have fixed it now to only require Pd 0.41 (and yes, this means that you must use Pd-0.41 for compilation of zexy on 64bit; you don't want anything lower when running on a 64bit machine anyhow)
please update your working copy of zexy by running "svn up"
mfd IOhannes
Sorry again, but it didn't work for me.
So, I already use Pd 0.42-4. But anyway, I tried it then with 0.41-0 and also with the "#!/bin/bash" with the same result: The whole process always stops after 'make' with this error:
"gcc -I. -DHAVE_CONFIG_H -DZEXY_LIBRARY -DPD -g -O2 -mms-bitfields -fPIC -mfpmath=sse -msse -c -o tabdump.o tabdump.c tabdump.c: In function ‘tabdump_bang’: tabdump.c:57: error: incompatible types in assignment make: *** [tabdump.o] Error 1 xyz@xyz:~/install/zexy/src$"
I updated my copy to this:
"At revision 10894."
Should I post the whole log after "autoconf", "./configure" and "make"...?
Thanks, Martin -----Original Message----- From: IOhannes m zmoelnig zmoelnig@iem.at To: Martin Hiendl martin.hiendl@googlemail.com Cc: pd-list@iem.at Subject: Re: [PD] Problems compiling zexy Date: Mon, 23 Mar 2009 14:41:05 +0100
Martin Hiendl wrote:
Thanks for your answer but unfortunately it didn't work for me.
I downloaded the svn and edited the makealias.sh to "#!/bin/bash". But after "make", I received this:
i just noticed that i was a bit too paranoid when doing checks for the used Pd-version: it required at least 0.42
i have fixed it now to only require Pd 0.41 (and yes, this means that you must use Pd-0.41 for compilation of zexy on 64bit; you don't want anything lower when running on a 64bit machine anyhow)
please update your working copy of zexy by running "svn up"
mfd IOhannes