PDA

View Full Version : Terminal help - Compiling and Stuff




Xenesis
Jan 21, 2007, 08:58 AM
Okay, there's two things that I want to compile and use.

Visualboy Advance (http://sourceforge.net/project/showfiles.php?group_id=63889) (Simply because the 'offical OSX port') seems to have removed all of the devtools (Disassembler, Memory Viewer, etc.) which means that for my hobbyist ROMhacking I have to reboot into windows. Which I don't really like doing if I don't have to.

I'd also like to compile Chemtool (http://ruby.chemie.uni-freiburg.de/~martin/chemtool/), a utility for drawing chemistry structures. Again, it gives me a reason to avoid using windows.

Now, for Visualboy, the install tells me to have these dependencies. However I don't really know how to install dependencies so they can be used...or if they're even installed or not.

- libpng: http://www.libpng.org/pub/png/libpng.html
- zlib: http://www.gzip.org/zlib/
- libSDL: http://www.libsdl.org
- nasm (optional for x86 MMX support): http://nasm.sourceforge.net/

And also before I configure/make it to do this:
aclocal
autoconf
automake -a -c

aclocal fails, telling me

aclocal: configure.in: 139: macro `AM_GNU_GETTEXT' not found in library, despite the fact that I already installed gettext via ./configure, make and then sudo make install.

Automake then complains that the aclocal.m4 is created for Automake 1.7.9 and I only have 1.6.3

Now, as for Chemtool, the compile just fails with ten squillion error messages, which I'm assuming is because I don't have the dependencies installed, which brings me back to my first point with VBA...

Any and all help is much appreciated. This open source community thing frightens me. <_<;

I'm running 10.4.8, and my computer is as in my sig. I installed the latest version of the Apple Developer tools yesterday. I managed to get nethack (<_<; ) to compile, so it must be working okay at some level.



Eraserhead
Jan 21, 2007, 09:20 AM
This should probably be in the programming forum, (I've asked the mods to move it).

You probably should install Fink (http://fink.sourceforge.net/download/index.php?phpLang=en), as you will probably need to install some Linux stuff on your Mac to get this stuff to work.

EDIT Here (http://pdb.finkproject.org/pdb/package.php/chemtool) is the Fink page for chemtool.

Xenesis
Jan 22, 2007, 01:36 AM
Okay, I installed fink and I'm running dselect, but chemtool doesn't appear in the list of possible packages....

Some more help? :S

Eraserhead
Jan 22, 2007, 01:59 PM
email the package maintainer as shown here (http://pdb.finkproject.org/pdb/package.php/chemtool). If you get stuck.