[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-Support] Re: swarm for Mac OSX
From: |
Bill Northcott |
Subject: |
[Swarm-Support] Re: swarm for Mac OSX |
Date: |
Sat, 22 Mar 2003 16:57:14 +1100 |
Hi Jeff
These things are problems with libtool1.4.3 which is used to build the
libraries. Hopefully libtool1.5 will be released very soon now and should
properly support MacOS X with some small mods to the Swarm library build
system.
If this happens at compile time, I am a bit surprised.
All the demo apps should have a Makefile which includes
$SWARMHOME/etc/swarm/Makefile.app which itself includes Makefile.common
from the same directory. Have a look at that file:
/usr/local/swarm2.1/etc/swarm/Makefile.common. You will see near the top
a row of lines defining the directories for the various libraries like:
tcllibdir=/usr/local/tcl8.4.1/lib
Check that that the libraries are where those lines say. If not,
reinstall the libraries. Ignore ffilibdir because it is incorporated in
the Swarm library.
If it happens at run time, which is more likely, then check the
DYLD_LIBRARY_PATH is the same as in the Readme. Basically it should be a
colon seperated list of the library directories from Makefile.common plus
the paths to any libraries which are part of the Swarm application.
Bill Northcott
PS You did install X11 didn't you??
Jeff Banfield <address@hidden> wrote on 22/03/2003 12:21:01 AM:
> Bill,
> I am trying to use your Mac OSX binaries for swarm (the fact that you
> developed them convinced me to upgrade to 10.2, until then 10.1 did
> everything I needed) and I have run into a problem.
> I have installed (into the default locations):
> OSX 10.2.3
> Developers Tools (Dec 2002)
> All 5 of the packages in SwarmMacOSXComplete
> hdf5 package
> libpng package
> The two swarmx upgrades (Feb 15 and Feb 26)
> I have set the 3 environmental variables as you suggest in the package
> readme file.
> I downloaded the swarmapps bundle and I get errors when I try to compile
> any of the apps (such as heatbugs or the first tutorial) and most of the
> errors involve trying to find libraries in the
> Users/billn/Public/Swarm/swarm/macosx/swarmx/build/src/
> directory. I could not find this phrase in any of the source code so I
> checked the swarm package and a grep on "billn" found dozens of matches
> in the swarmx2.1/lib directory. I am sure there is some simple fix to
> this but I do not know enough about Unix to figure it out. Do you have
> any suggestions?
> Thanks,
> Jeff
>
> I am including part of the make output where the errors start:
> Everything is comping fine and then I get to:
> /usr/local/gcc3.3/bin/gcc -g -O2 -o bug main.o
> -L/usr/local/swarm2.1/lib -lswarm
> -L/Users/billn/Public/Swarm/swarm/macosx/swarmx/build/src/space
> -L/Users/billn/Public/Swarm/swarm/macosx/swarmx/build/src/analysis
> and it continues loading lots of other libraries from /Users/billn/
> after that I get a long list of warnings about /Users/billn/ ... ending
> with:
> /usr/bin/ld: warning -L: directory name
> (/Users/billn/Public/Swarm/swarm/macosx/swarmx/build/libobjc) does not
> exist
> /usr/bin/ld: can't locate file for: -lXpm
> collect2: ld returned 1 exit status
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Swarm-Support] Re: swarm for Mac OSX,
Bill Northcott <=