 |
 |
Help with compiling...
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: CIncinnat, OH USA
Status:
Offline
|
|
I am trying to compile a molecular image viewing program called Molscript. I made a few changes to the Makefile but cannot get it to finish compiling. I keep getting the following:
[localhost:/usr/local/molscript-2.1.2] root# make
cc -o molscript molscript.tab.o global.o lex.o col.o select.o state.o graphics.o segment.o coord.o xform.o postscript.o raster3d.o vrml.o regex.o clib/clib.a -lm
/usr/bin/ld: Undefined symbols:
_eps_set
_eps_set_bw
_eps_set_scale
_gifi_set
_jpgi_set
_jpgi_set_quality
_ogl_set
_ogl_set_accum
_pngi_set
_pngi_set_compression
_sgii_set
_glutStrokeRoman
make: *** [molscript] Error 1
I know a lot of this is program specific, but what does the "Error 1" mean?
Sorry for the newbie question, but I used to use this program on our IRIX system and want to try it on my mac.
In case anyone is interested, the program is at http://www.avatar.se/molscript/
Thanks.
Sam V.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Cambridge, MA
Status:
Offline
|
|
A quick guess from name of those undefine functions, I think you miss some file format process libraries/routines.
The Error 1 is from `make' and tells you the cc does not finish its job.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Cambridge, MA
Status:
Offline
|
|
A quick guess from name of those undefine functions, I think you miss some file format process libraries/routines.
The Error 1 is from `make' and tells you the cc does not finish its job.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Cambridge, MA
Status:
Offline
|
|
A quick guess from name of those undefine functions, I think you miss some file format process libraries/routines.
The Error 1 is from `make' and tells you the cc does not finish its job.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2000
Location: Boston, MA
Status:
Offline
|
|
They are missing functions.
Your missing the support libraries for various output formats.
See: http://www.avatar.se/molscript/doc/links.html#libraries
If you cannot get or compile those libraries first, you need to somehow
tell the molscript compile to not use those formats.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: CIncinnat, OH USA
Status:
Offline
|
|
Thanks for the replies.
The makefile that I am using is, according to the instructions, supposed to work without any installed external libraries.
From the installation instructions:
"However, the basic implementation of MolScript (with the PostScript, Raster3D and VRML 2.0 output modes) needs no external software, and is straightforward to compile. "
But I still get the above error when I try to complie.
Any other thoughts?
-Sam V.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: CIncinnat, OH USA
Status:
Offline
|
|
OK. Got it. I needed to reinstall the source folder and do the basic makefile. It worked fine.
Now I need to get Ghostscript installed so I can view PS files. This is providing to be more difficult...
-Sam
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: CIncinnat, OH USA
Status:
Offline
|
|
I'm getting pretty far on compiling Ghostscript...I get caught when it looks for the X11 libraries. I can't find them and don't think they are part of X. Any ideas?
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Mar 2001
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: CIncinnat, OH USA
Status:
Offline
|
|
Thanks Peter. That is very helpful. I had given up on compiling Ghostscript and was using Photoshop in Classic. This is much better, though.
I am trying to complie Rayshade now (to render the molecular output files from molscript).
The Configure file from Rayshade asks me where my C libraries are located... They are not in /usr/local or /usr/lib. Where are they kept?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Chicago, IL USA
Status:
Offline
|
|
Remove -lm from the LIBS line. OSX has this functionality without having the library.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally posted by thel:
Remove -lm from the LIBS line. OSX has this functionality without having the library.
This is no longer needed. OS X 10.0 still functions with -lms included, since it was such a pain to remove them all, but it might be linked against automatically, i don't know.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Cambridge, MA
Status:
Offline
|
|
libm.dylib is a link to libSystem.dylib, and libSystem.dylib is again a link to libSystem.B.dylib.
It looks like functions that you might expect from -lm are included in libSystem.B.dylib.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|