Re: [Io] binary distribution
- View SourceHello Steve,
Thursday, July 8, 2004, 14:17:25, you wrote:
> On Jul 8, 2004, at 5:10 AM, Daniel Vollmer wrote:No, I didn't. There was a configure script in the archive, but that
>> I have now managed to give it a go. Attached is the error log for
>> IoDesktop. Summary:
>> - libevent is not happy (cannot find sys/event.h)
>> - some missing dylib-files (??? freetype for example)
>> - libpng unhappy (wrong options to CC -suppress?)
>> - libtool included with libmpeg2 seems to have a hardcoded path to sed
>> as /usr/bin/sed. On my machine, sed is in /bin.
>> - portaudio is really unhappy because it is trying to compile for a
>> mac (missing configure step?)
>> Never got to the linking stage... ;)
> Thanks for the bug report. Did you run make configure at the top level
simply did nothing. I have now done a "make config" instead and that
has in fact done some configuring. :)
It now builds IoVM and IoDesktop, but IoServer cannot link:
cc -o ioServer main.o IoServerInit.o -L. -lIoServer -L../IoVM/_libs -lIoVM -L_libs -ldl -lcurses -lcurses -ldl -ldb -lpcre -levent -lm
../IoVM/_libs/libIoVM.a(IoFile.o)(.text+0x4ff): In function `IoFile_useTemporaryPath':
/home/maven/IoDesktop-2004-07-06/IoVM/IoFile.c:266: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
_libs/libdb.a(mut_pthread.o)(.text+0x9c): In function `__db_pthread_mutex_init':
: undefined reference to `pthread_mutexattr_destroy'
_libs/libdb.a(mut_pthread.o)(.text+0x139): In function `__db_pthread_mutex_init':
: undefined reference to `pthread_condattr_setpshared'
_libs/libdb.a(mut_pthread.o)(.text+0x14b): In function `__db_pthread_mutex_init':
: undefined reference to `pthread_mutexattr_init'
_libs/libdb.a(mut_pthread.o)(.text+0x16f): In function `__db_pthread_mutex_init':
: undefined reference to `pthread_mutexattr_setpshared'
_libs/libdb.a(mut_pthread.o)(.text+0x1c4): In function `__db_pthread_mutex_lock':
: undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
This could be rectified by adding -lpthread to the CCLIBS-flags for
IoServer if SleepyHead is used.
I now have io, ioServer and ioDesktop compiled. Do you want the
executable stripped and upx'd? That'd reduce their size considerably:
base total 13536
-rwxr-xr-x 1 maven maven 1001315 Jul 8 14:42 io
-rwxr-xr-x 1 maven maven 8827484 Jul 8 14:38 ioDesktop
-rwxr-xr-x 1 maven maven 4001344 Jul 8 14:56 ioServer
stripped total 4132
-rwxr-xr-x 1 maven maven 139304 Jul 8 14:56 io
-rwxr-xr-x 1 maven maven 2803916 Jul 8 14:56 ioDesktop
-rwxr-xr-x 1 maven maven 1269268 Jul 8 14:56 ioServer
stripped+upx total 1736
-rwxr-xr-x 1 maven maven 59742 Jul 8 14:56 io
-rwxr-xr-x 1 maven maven 1162127 Jul 8 14:56 ioDesktop
-rwxr-xr-x 1 maven maven 536864 Jul 8 14:56 ioServer
ioDesktop seems to run SongJam OK (including UI and sound), but I take
it isn't finished yet --- clicking on Help complains that it can't get
file descriptor for the console... ;)
[Computer Lie #1: You'll never use all that disk space.]
- View SourceHello all,
Thursday, July 8, 2004, 15:08:04, you wrote:
> stripped+upx total 1736I've uploaded the above versions to my server; they can be found at
> -rwxr-xr-x 1 maven maven 59742 Jul 8 14:56 io
> -rwxr-xr-x 1 maven maven 1162127 Jul 8 14:56 ioDesktop
> -rwxr-xr-x 1 maven maven 536864 Jul 8 14:56 ioServer
Feel free to test and report problems. :)
[He's not dead, Jim, he's just metabolically challenged.]
- View SourceSteve Dekorte schreef:
> Hey all,I have done a Syllable package. A fixed URL for it is here:
> I'd like to start making binary distributions of Io available and I'm
> looking for volunteers to periodically (when you get a chance) compile
> Io for your platform and put it on your website at a fixed url (the url
> won't change for different releases of Io).
> Mike Austin is willing to cover Windows, Ken Kerahone is willing to
> cover FreeBSD and I'll keep OSX updated. Is anyone willing to cover
> Linux, Symbian or others?
> Also, I'm going to be adding some makefile stuff so a compressed binary
> distribution can be easily built from the command line. So the work
> involved will hopefully just be:
> make binary
> scp Io<platform>.tar.gz <user>@<site>:<path>/Io<platform>.tar.gz
> -- Steve
It's in standard Syllable tarball format. I'm not updating it with every
Io release, though. I'll probably build it once every few months for
the moment being.
- View SourceOn Jul 9, 2004, at 8:24 PM, Kaj de Vos wrote:
> I have done a Syllable package. A fixed URL for it is here:That's fine. Thanks!
> It's in standard Syllable tarball format. I'm not updating it with
> Io release, though. I'll probably build it once every few months for
> the moment being.