Image 01
profile-image

lerxst

Randy Kaelber
Boson

Tactics & Strategy by halux 11 comments

Okay, here's an update. This is by no means the best way to do this, as there has to be a way to tell cmake to do this for you, but this way will get it compiled:

Edit each of the following files:


./code/boson/programs/CMakeFiles/bocommandframetester.dir/build.make
./code/boson/programs/CMakeFiles/boconditioneditor.dir/build.make
./code/boson/programs/CMakeFiles/bocreatepreview.dir/build.make
./code/boson/programs/CMakeFiles/bofileconverter.dir/build.make
./code/boson/programs/CMakeFiles/bomodelpixmaps.dir/build.make
./code/boson/programs/CMakeFiles/borender.dir/build.make
./code/boson/programs/CMakeFiles/boson.dir/build.make
./code/boson/programs/CMakeFiles/boson-no-gui.dir/build.make
./code/boson/programs/CMakeFiles/bounit.dir/build.make


look for the huge link command in each iof these files. It occurs a couple lines after an "echo Linking" command. You can't miss it, as the link step is a huge line with lots of '-l" something or other at the end of them. To the end of each line, add '-lutil'.

When you are done editing, you can run the make command again. It should all build. Basically, some systems (such as Suse and FC) have the openpty and forkpty functions in the util lib, but cmake doesn't seem to figure out it needs this. As I said before, there's a much better way to do this, but it's the end of the week and I didn't feel much like digesting yet another manual. :-)

Anyhow, I hope this gets you playin' - Nov 03 2006
Boson

Tactics & Strategy by halux 11 comments

I've figured out what the problem is, but not knowing much about the Cmake way, I haven't figured out how to actually fix it yet.

The linking step occuring here needs to include "-lutil" to work properly. I'm going to plunge into cmake next and see what incantation it needs to specify this. - Nov 03 2006