intfiction.org

The Interactive Fiction Community Forum
It is currently Sat May 25, 2013 6:18 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: fizmo 0.7.4
PostPosted: Thu Aug 02, 2012 12:33 am 
Offline

Joined: Thu May 28, 2009 3:56 pm
Posts: 14
Version 0.7.3 of the fizmo interpreter is now available in source form from http://spellbreaker.org/~chrender/fizmo/. While the only new feature is the “maximum-undo-steps” option, it contains some minor optimizations and a lot of bug fixes which are mostly related to Andrew Plotkin's iOS Fizmo release – many thanks! – making this a recommended update in case you're willing to build from source, since no binary packages are available yet.


Last edited by Christoph on Tue Sep 18, 2012 5:43 am, edited 1 time in total.

Top
 Profile Send private message  
 
 Post subject: Re: fizmo 0.7.3
PostPosted: Fri Aug 03, 2012 10:46 pm 
Offline

Joined: Tue Apr 27, 2010 1:02 pm
Posts: 797
Excellent news!


Top
 Profile Send private message  
 
 Post subject: Re: fizmo 0.7.3
PostPosted: Wed Aug 08, 2012 11:16 am 
Offline
User avatar

Joined: Tue Apr 20, 2010 2:48 pm
Posts: 689
I tried adding this to Gentoo Linux, but the build system doesn't play nice. I simply can't get it to build. I gave up :-P


Top
 Profile Send private message  
 
 Post subject: Re: fizmo 0.7.3
PostPosted: Wed Aug 08, 2012 12:31 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 2087
What is going wrong? I had to get Fizmo building on MacOS before I could start porting it to iOS, so I have some experience now. Though I haven't tried on Linux.


Top
 Profile Send private message  
 
 Post subject: Re: fizmo 0.7.3
PostPosted: Wed Aug 08, 2012 12:47 pm 
Offline
User avatar

Joined: Tue Apr 20, 2010 2:48 pm
Posts: 689
I can build it just fine on its own. But not when building it using an ebuild. These are sandboxed builds (analogous to *.src.rpm packages on RPM-based distros.) fizmo's build system seems to ignore many variables and have some of them hardcoded (like CFLAGS and LDFLAGS). These issues have been somewhat worked around already by David Leverton, who maintains fizmo in the interactive-fiction Gentoo overlay. But building fails with:

Code:
"x86_64-pc-linux-gnu-gcc" -pipe -mtune=native -march=native -O2 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -Wall -Wextra -DENABLE_READCHAR_VIA_TERMIOS= -I/usr/include/libxml2 -I/var/tmp/portage/games-engines/fizmo-0.7.2/work/fizmo-0.7.2/build/include/fizmo   -c fizmo-console.c
"x86_64-pc-linux-gnu-gcc" -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common fizmo-console.o -o fizmo-console -lm -L/var/tmp/portage/games-engines/fizmo-0.7.2/work/fizmo-0.7.2/build/lib/fizmo -lfizmo -lxml2 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-engines/fizmo-0.7.2/work/fizmo-0.7.2/build/lib/fizmo/libfizmo.a(math.o): undefined reference to symbol 'rint@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'rint@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../lib64/libm.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../lib64/libm.so: could not read symbols: Invalid operation


I tried for quite a bit to find out what's causing this, but failed and gave up.


Top
 Profile Send private message  
 
 Post subject: Re: fizmo 0.7.3
PostPosted: Wed Aug 08, 2012 2:29 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 2087
Yyyeah, that's out of my league. Sorry.


Top
 Profile Send private message  
 
 Post subject: Re: fizmo 0.7.3
PostPosted: Fri Aug 10, 2012 7:42 am 
Offline
User avatar

Joined: Tue Apr 20, 2010 2:48 pm
Posts: 689
OK, figured it out. The problem is that fizmo's makefiles don't specify all needed libraries and thus cause underlinking (http://wiki.mandriva.com/en/Underlinking). This breaks package builds on all distributions that use "--as-needed" in the default linker flags.

I've disabled that flag for fizmo and added 0.7.3 in the Gentoo interactive-fiction overlay.


Top
 Profile Send private message  
 
 Post subject: Re: fizmo 0.7.3
PostPosted: Sat Aug 11, 2012 1:25 am 
Offline

Joined: Thu May 28, 2009 3:56 pm
Posts: 14
Thanks for posting this, and even more thanks for the fix. I'll try to improve the build system in the next version. Not being a build system expert, I'd be happy for any suggestions or advice.


Top
 Profile Send private message  
 
 Post subject: Re: fizmo 0.7.3
PostPosted: Tue Sep 11, 2012 10:27 am 
Offline

Joined: Thu May 28, 2009 3:56 pm
Posts: 14
There's now a beta version of a auto[conf|make]-enabled fizmo available at http://spellbreaker.org/~chrender/fizmo ... -b1.tar.gz which appears to work at least for Debian Linux and OS X/Macports.


Top
 Profile Send private message  
 
 Post subject: Re: fizmo 0.7.4
PostPosted: Tue Sep 18, 2012 5:44 am 
Offline

Joined: Thu May 28, 2009 3:56 pm
Posts: 14
After two little improvements over the beta, fizmo 0.7.4 is now available from http://spellbreaker.org/~chrender/fizmo ... 7.4.tar.gz, containing no bugfixes but only the new autoconf/automake-based build system, which hopefully makes building/packing a bit easier.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group