-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/16/07 10:01, Michael Fothergill wrote: > > But I am not used compiling stuff that would >> >> normally run on an i386 box in this way so I am a bit in the dark. >> >> However if it works, I am going to try to make deb package file for it >> >> from scratch. The software is called ASCEND and is a chemical >> >> engineering modelling progam. It has been released under the GPL I >> >> think. The authors made some rpms for it and say that you could use >> >> something called alien to convert the rpms into deb files. >> > >> >> But I am interested if I can to make deb package files for it from >> >> scratch. If it worked I would be willing to offer them to be included >> >> Ah, now I understand. >> >> But there is already a scons package in amd64. Is it not built with >> the options you want? > > I think it is probably OK, but I may need to change some of the > options. I tried compiling ascend with scons and got the following > error message: > > http://packages.debian.org/testing/devel/scon > > /usr/bin/ld: lsod/lsode.os: relocation R_X86_64_32S against `a local > symbol' can not be used when making a shared object; recompile with -fPIC > lsod/lsode.os: could not read symbols: Bad value > collect2: ld returned 1 exit status > scons: *** [libascend.so] Error 1 > scons: building terminated because of errors. > localhost:/home/mikef/ascend# > localhost:/home/mikef/ascend# > > As I mentioned above this code is usually compiled for 32 bit i386 use. > If I can fix this then I will have a version that runs in 64 bit mode. > Next stop a proper ab initio 64 bit deb package not an alien rpm to deb > fix, Then a proper i386 deb package as well, a sponsor if that makes > sense and I can find one and a new package for Debian if it wants it. > > The compiler suggests that I need to recompile with the -fPIC option. I > am having to run scons as root because of a permission problem I get as > a user: > > [EMAIL PROTECTED]:~/ascend$ scons > scons: Reading SConscript files ... > > scons: *** Error writing options to file: options.cache > [Errno 13] Permission denied: 'options.cache'
That looks like the problem... Change the perms on the dir that it tries to write options.cache to? > File "SConstruct", line 624, in ? > [EMAIL PROTECTED]:~/ascend$ > > I will study some scons documentation and see if I can figure out how to > turn on the -fPIC option. > > Suggestions welcome. Recompile scons, or ASCEND? Are we agreeing that the problem seems to be in *configuring* scons? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF1dgnS9HxQb37XmcRAnniAKCmntUWPpkojNt6vr4sm5GQwnNUkwCgh60o sI1Zo3N/cmIjezq7u6Rh/Gc= =KFAr -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]