Tack för hjälpen och visat intresse.
Problemet uppstod då jag skulle installera Calculix 1.2 ( www.calculix.de
Efter några turer fram och tillbaka kom Syn Schmitt fram med nedanstående lösning på problemet.
MVH
Freeminder
###############################################################
# HowTo install Calculix cgx_1.2 on Powerbook 12" with MacOSX 10.3.7
# Syn Schmitt, 15.02.2005
# sschmitt@tat.physik.uni-tuebingen.de
###############################################################
# Software preparation
Install OpenGL-framework from www.apple.com
Install glut via fink
Get cgx_source from www.calculix.de
# Filesystem and compiling preparation
# Make symlink to X11
cd /usr
sudo ln -s X11R6 X11
# Untar the source
cd /usr/local
sudo tar xvfpz cgx_source
sudo chown -R root:wheel Calculix
# Make libSNL
cd /usr/local/CalculiX/libSNL/src
sudo make
sudo ranlib libSNL.a
# Edit Makefile to fit with fink-glut
cd /usr/local/CalculiX/cgx_1.2/src
sudo editor Makefile
the first lines have to look like follows:
CFLAGS = -02 -Wall \
-I./ \
-I/usr/include \
-I/usr/include/GL \
-I/sw/include \
-I/sw/include/GL \
-I/usr/local/CalculiX/libSNL/src \
-I/usr/X11/include
LFLAGS = \
-L/usr/local/CalculiX/libSNL/src -lSNL \
-L/usr/lib -lGL -lGLU \
-L/sw/lib -lglut \
-L/usr/X11/lib -lpthread -lX11 -lXext -lXi -lXmu -lXt -lSM -lICE \
-lm
# Compilation and installation
# Hopefully, now you can do a
sudo make
sudo cp cgx /usr/local/bin/.
sudo chmod +x /usr/local/bin/cgx
# Run from your home
# check to have the /usr/local/bin path in your .bashrc