[mapserver-users] can not compile arcsde 9.3 with mapserver 5.4

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Wed Apr 14 10:39:37 EDT 2010


Perhaps the double / is problematic? Try:

  --with-sde="/opt/arcsde/sdeexe93"

Also, does the library architecture match your system?

Steve
________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] On Behalf Of Jachym Cepicky [jachym.cepicky at gmail.com]
Sent: Wednesday, April 14, 2010 3:55 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] can not compile arcsde 9.3 with mapserver 5.4

Hi,
I have the SDK, I installed it using "install -load" script

when I try to compile mapserver 5.4.2,  configure works,

./configure [...]
  --with-sde="/opt/arcsde/sdeexe93/" \
  --with-sde-version=93 \
   [...]


but whild compilating, I get

[...]
usr/lib64 -lagg -laggfontfreetype  -ltiff -ljpeg -lfreetype -lpng -lz
-lXpm -lX11  -lproj -ljpeg -lpng -L/opt/arcsde/sdeexe93//lib -lsde
-lpe -lsg -lpthread -ldl -lgdal   -L/usr/lib64 -lpq -rdynamic
-L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64
-lssl -lcrypto -lmysqlclient -L/usr/kerberos/lib64 -lcurl -ldl
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz
-L/usr/lib64 -lgeos_c -lpthread -lc  -lz -lxml2 -lz -lm -lfribidi
-lm -lstdc++   -o shp2img
/usr/bin/ld: skipping incompatible /opt/arcsde/sdeexe93//lib/libsde.so
when searching for -lsde
/usr/bin/ld: skipping incompatible /opt/arcsde/sdeexe93//lib/libsde.a
when searching for -lsde
/usr/bin/ld: cannot find -lsde
collect2: ld returned 1 exit status

any hint?

thanks

jachym


Dne 12. dubna 2010 8:00 Jachym Cepicky <jachym.cepicky at gmail.com> napsal(a):
> Hi,
>
> slowly, I'm approaching. Our customer had to write to out local service
> provider of ESRI and they had to write to ESRI and request for the
> header files (I can not find the page, where it was written, but the
> header files should just arrive from U.S. here).
>
> So, now I "should" be able to compile
>
> Thanks
>
> Jachym
>
> Lime, Steve D (DNR) píše v St 07. 04. 2010 v 16:40 -0500:
>> Don't know if success was had or not. The standard 9.3 disks I had access to did not have the headers available. Must need some super secret handshake to get them. Anyway, I just copied the 9.2 headers into the same spot in the 9.3 directories  and it works just fine. Don't know that I'd recommend that approach in lieu of learning the super secret handshake but it worked here in a pinch...
>>
>> Steve
>>
>> -----Original Message-----
>> From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Huey Brantley
>> Sent: Thursday, March 18, 2010 10:44 PM
>> To: Jachym Cepicky
>> Cc: mapserver-users at lists.osgeo.org
>> Subject: Re: [mapserver-users] can not compile arcsde 9.3 with mapserver 5.4
>>
>> Compile it against the SDE SDK, not where you have SDE installed.
>>
>> My configure:
>>
>> ./configure \
>>    --with-php=/usr/local \
>>    --with-proj=/usr/local \
>>    --with-gd=/usr/local \
>>    --with-jpeg=/usr/local \
>>    --with-png=/usr/local \
>>    --with-sde=/u01/arcgis93sdk/sdeexe93/ \
>>    --with-sde-version=93 \
>>    --with-wfs \
>>    --with-ogr=/usr/local/bin/gdal-config \
>>    --with-gdal=/usr/local/bin/gdal-config \
>>    --with-freetype \
>>    --with-tiff \
>>    --with-agg \
>>    --with-curl \
>>    --enable-debug
>>
>>
>>
>> Jachym Cepicky wrote:
>> > Hi,
>> >
>> > I'm not able to get arcsde 9.3.0 compiled with mapserver (5.4), on Linux
>> >
>> > I use
>> >
>> > ./configure --with-sde=/opt/arcsde/9.3.0/sdeexe93/ --with-sde-version=''
>> >
>> >
>> > the arcsde installation directory containes (among others) file
>> >
>> > ...
>> > libsde.so
>> > ..
>> >
>> > nut not "*.a" file or "*.h" files
>> >
>> > however, I get
>> >
>> > configure: error: "Could not find sdetype.h or libsde.a/libsde.so in
>> > /opt/arcsde/9.3.0/sdeexe93/."
>> >
>> > Any hint?
>> >
>> > Thanks
>> >
>> > Jachym
>> >
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> --
> Jachym Cepicky
> e-mail: jachym.cepicky gmail com
> URL: http://les-ejk.cz
> PGP Public key: http://les-ejk.cz/pgp/JachymCepicky.pgp
>



--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list