Menu

#1 Cygwin Installation

v1.0_(example)
open
nobody
5
2003-09-18
2003-09-18
No

am a programmer on the Agent Based modelling team at
the Macaulay Institute in
Aberdeen, Scotland. We have recently started using
Expat and Expatobjc to read in parameters for the model
from an XML document. We can successfully use these
facilities on Solaris.

However, we are having some problems installing
ExpatObjc in Cygwin.
The configure gives the following output :

wa5214@flick /cygdrive/c/ExpatObjcDownLoad/expatobjc
-1.0
$ echo $LD_LIBRARY_PATH
/Swarm-2.2/lib:/Swarm-2.2/lib/gcc-lib:

wa5214@flick /cygdrive/c/ExpatObjcDownLoad/expatobjc
-1.0
$ ./configure --prefix=/usr/local
checking for a BSD compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... .exe
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ar... /usr/bin/ar
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for objc/objc.h... yes
checking for objc/Object.h... yes
checking whether objc really works... no
I don't seem to be able to use your Objective-C compiler
to produce
working binaries! Please check your Objective-C
compiler installation.
If you are using gcc-3.x make sure that your compiler's
libgcc_s and libobjc
can be found by the dynamic linker - usually that
requires you to play
with LD_LIBRARY_PATH or /etc/ld.so.conf.
Please refer to your compiler installation instructions for
more help.
configure: error: The Objective-C compiler doesn't work
or is not installed prop
erly.

wa5214@flick /cygdrive/c/ExpatObjcDownLoad/expatobjc
-1.0
$ echo $PATH
/Swarm-
2.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdri
ve/c/WINNT/sys
tem32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/
Wbem:/cygdrive/c/WINNT/system
32/nls:/cygdrive/c/WINNT/system32/nls/ENGLISH:/cygdri
ve/c/Program Files/Hummingb
ird/Connectivity/7.10/Accessories:/cygdrive/c/arcgis/arc
exe81/bin:/cygdrive/c/Pr
ogram Files/Common Files/Adaptec
Shared/System:/Swarm-2.2/bin:/usr/bin:.:.

We have tried altering LD_LIBRARY_PATH - see above
output. gcc-3.x comes with
Swarm (Agent based modelling software reference
www.swarm.org). In trying to get things to work we
copied gcc.exe into Cygwin/bin. libobjc.a and libobjc.la
are in
c:\Swarm-2.2\lib. We downloaded expat 1.95.6-1 as
part of the Cygwin download/install options.

Very grateful if you can offer any guidance in installing
Expatobjc.

many thanks,

William

Discussion


Log in to post a comment.