|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 - 3 | Next > |
|
|
Starting apache error: httpd cannot execute binary fileDear all,
I downloaded fgs-mapserver_basic_5.4.2-fgs_9.5-linux-i386.bin and tried to install it onto sparc64 under Debian GNU/Linux 5.0 (lenny) as root. The installation process completed properly but when it tried to start 'apache' in the end, it encountered the following error: + Starting 'apache': /opt/fgs/www/bin/apachectl: line 82: /opt/fgs/www/bin/httpd: cannot execute binary file Target system information is like: uname -a Linux reeb 2.6.26-2-sparc64-smp #1 SMP Thu Aug 20 16:48:42 UTC 2009 sparc64 GNU/Linux Has anyone met similar problem? Any suggestion will be highly appreciated. Thank you in advance. Best Regards, Hao Zhang _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHao Zhang wrote:
> + Starting 'apache': > /opt/fgs/www/bin/apachectl: line 82: /opt/fgs/www/bin/httpd: cannot > execute binary file > Hao, See http://lists.maptools.org/pipermail/foss-gis-suite/2009-August/000778.html Norm _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
|
|
|
Re: Starting apache error: httpd cannot execute binary fileHi Normand,
Is this tutorial on your website good enough to compile and build FGS pacakge from source for 64-bits sparc machine? http://www.maptools.org/fgs/index.phtml?page=fgs-sandbox.html Any other relevant guide out there? Best Regards, Hao On Wed, Oct 28, 2009 at 1:30 PM, Normand Savard <nsavard@...> wrote:
_______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHao Zhang wrote:
> Is this tutorial on your website good enough to compile and build FGS > pacakge from source for 64-bits sparc machine? > > http://www.maptools.org/fgs/index.phtml?page=fgs-sandbox.html > > Any other relevant guide out there? Hao, You found the right doc. Tell me how it goes. Norm _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileI don't know if things have changed since the last time I attempted to build FGS on a 64 bit machine (about a year ago), but at that time, the automake/autoconf scripts for some of the libraries (jpeg comes to mind) knew nothing about 64 bit architectures. I ended up doing a 32 bit build, which does run on 64 bit machines. Mike Haertjens, SW Engineer GCSD/Harris Corp. MS:W3-31J (321) 984-6826 mhaertje@... -----Original Message----- From: foss-gis-suite-bounces@... [mailto:foss-gis-suite-bounces@...] On Behalf Of Normand Savard Sent: Wednesday, October 28, 2009 9:35 AM To: Hao Zhang Cc: foss-gis-suite@... Subject: Re: [FGS] Starting apache error: httpd cannot execute binary file Hao Zhang wrote: > Is this tutorial on your website good enough to compile and build FGS > pacakge from source for 64-bits sparc machine? > > http://www.maptools.org/fgs/index.phtml?page=fgs-sandbox.html > > Any other relevant guide out there? Hao, You found the right doc. Tell me how it goes. Norm _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHaertjens, Michael wrote:
> I don't know if things have changed since the last time I attempted to > build FGS on a 64 bit machine (about a year ago), but at that time, the > automake/autoconf scripts for some of the libraries (jpeg comes to mind) > knew nothing about 64 bit architectures. I ended up doing a 32 bit > build, which does run on 64 bit machines. > > Haertjens, We're not aware of any issue with jpeg library or any other but you may be right. Nevertheless, it's worth trying. If it becomes a nightmare you could install ia32-libs for Sparc from here: http://packages.debian.org/search?keywords=ia32&searchon=names&suite=stable§ion=all Norm _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHi Normand,
I am trying to build FGS from source. When it comes to build mapserver package using mapserver-5.4.2.tar.gz, it complains and aborts: [... blabla ...] In file included from mapswf.c:41: mapswf.h:37:18: error: ming.h: No such file or directory In file included from mapswf.c:41: mapswf.h:46: error: expected specifier-qualifier-list before ‘SWFMovie’ mapswf.c:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GetCurrentMovie’ mapswf.c: In function ‘StoreDblData’: mapswf.c:69: error: ‘SWFObj’ has no member named ‘nDblDatas’ mapswf.c:70: error: ‘SWFObj’ has no member named ‘nDblDatas’ mapswf.c:71: error: ‘SWFObj’ has no member named ‘DblDatas’ mapswf.c:73: error: ‘SWFObj’ has no member named ‘DblDatas’ mapswf.c:78: error: ‘SWFObj’ has no member named ‘DblDatas’ mapswf.c:79: error: ‘SWFObj’ has no member named ‘DblDatas’ mapswf.c:82: error: ‘SWFObj’ has no member named ‘DblDatas’ [ ... a lot of error lines ...] mapswf.c: At top level: mapswf.c:3469: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GetCurrentMovie’ make: *** [mapswf.o] Error 1 ! ./fgs_build: Fatal error returned, exiting... It seems that ming.h file is missing in the directory of mapswf.h file. Have you experienced the same problem when you built mapserver package? ia32-libs is not available for sparc architecure but only for amd64 and ia64. Regards, Hao On Wed, Oct 28, 2009 at 4:42 PM, Normand Savard <nsavard@...> wrote:
_______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHao,
Answers in line. Norm Hao Zhang wrote: > I am trying to build FGS from source. When it comes to build mapserver > package using mapserver-5.4.2.tar.gz, > it complains and aborts: > > [... blabla ...] > In file included from mapswf.c:41: > mapswf.h:37:18: error: ming.h: No such file or directory What does the config.log says? > Have you experienced the same problem when you built mapserver package? > I remember to have seen this once but could not remember what were the conditions. > ia32-libs is not available for sparc architecure but only for amd64 > and ia64. > Thanks for the clarification. _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
|
|
|
|
|
|
Re: Starting apache error: httpd cannot execute binary fileHao,
Did you change the default version of ming in the build.list or is it 0.4.2? Did you try to build MapServer from trunk? To do it just change 5.4.2 to svn_trunk in the build.list in fgs-dev: mapserver:5.4.2:5.4.2:/home/fgs/fgs-dev/src/mapserver-5.4.2 to mapserver:svn_trunk:: Norm Hao Zhang wrote: > I am trying to build FGS from source. When it comes to build mapserver > package using mapserver-5.4.2.tar.gz, > it complains and aborts: > > [... blabla ...] > In file included from mapswf.c:41: > mapswf.h:37:18: error: ming.h: No such file or directory > In file included from mapswf.c:41: > mapswf.h:46: error: expected specifier-qualifier-list before ‘SWFMovie’ > mapswf.c:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ > before ‘GetCurrentMovie’ > mapswf.c: In function ‘StoreDblData’: > mapswf.c:69: error: ‘SWFObj’ has no member named ‘nDblDatas’ > mapswf.c:70: error: ‘SWFObj’ has no member named ‘nDblDatas’ > mapswf.c:71: error: ‘SWFObj’ has no member named ‘DblDatas’ > mapswf.c:73: error: ‘SWFObj’ has no member named ‘DblDatas’ > mapswf.c:78: error: ‘SWFObj’ has no member named ‘DblDatas’ > mapswf.c:79: error: ‘SWFObj’ has no member named ‘DblDatas’ > mapswf.c:82: error: ‘SWFObj’ has no member named ‘DblDatas’ > [ ... a lot of error lines ...] > mapswf.c: At top level: > mapswf.c:3469: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ > before ‘GetCurrentMovie’ > make: *** [mapswf.o] Error 1 > ! ./fgs_build: Fatal error returned, exiting... > > It seems that ming.h file is missing in the directory of mapswf.h > file. Have you experienced the same problem when you built mapserver > package? > _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHi Norm,
There is no ming sub-directory under /home/hao/test/FGS_PKG/fgs-dev/built/ at all. At the begining, I ran command 'fgsdev custom_build_list create mapserver-base' and it generated build.list which contains: libstdc++::: libgcc::: zlib::: jpeg::: tiff::: libpng::: freetype::: libiconv::: gd::: openssl::: curl::: proj::: proj4_epsg42xxx::: libgeotiff::: postgresql::: unixODBC::: freetds::: xerces_c::: libungif::: gdal::: expat::: apache::: libxml2::: libxslt::: sablotron::: gettext::: php::: geos::: agg::: mapserver::: It does not include ming package at all. Could this be the reason that ming is missing under ~/built/ directory which causes mapserver build failure? Thank you for your tip on get_curl_certificates.sh modification. I will try it now. Regards, Hao On Fri, Oct 30, 2009 at 1:35 PM, Normand Savard <nsavard@...> wrote:
_______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHi Norm,
On Fri, Oct 30, 2009 at 1:49 PM, Normand Savard <nsavard@...> wrote: Hao, I did not change it and it's 0.4.2.
I did not try that. I will give a try if compiling still does not go through for mapserver.
_______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHao Zhang wrote:
> It does not include ming package at all. Could this be the reason that > ming is missing under ~/built/ directory which causes mapserver build > failure? > This is surely it. Add it in the build list and do: fgsdev build_pkg ming then build MapServer. Norm _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHi Norm,
When I build gdal 1.6.1 on Debian GNU/Linux sparc64 machine, it requires mysql-5.1.30-linux-i686-icc-glibc23.tar.gz package. But they are incompatible which causes the following fatal error: [ ... ... ] /usr/bin/ld: skipping incompatible /home/sorm/FGS/fgs-dev/built/mysql-5.1.30-linux-i686-icc-glibc23/lib/libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /home/sorm/FGS/fgs-dev/built/mysql-5.1.30-linux-i686-icc-glibc23/lib/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[1]: *** [/home/sorm/FGS/fgs-dev/src/gdal-1.6.1/libgdal.so] Error 1 make[1]: Leaving directory `/home/sorm/FGS/fgs-dev/src/gdal-1.6.1' make: *** [check-lib] Error 2 ! ./fgs_build: Fatal error returned, exiting... I see mysql-5.1.30-linux-i686-icc-glibc23.tar.gz is hardcoded in get_mysql_devel.sh. Is there any compatible package for linux sparc64? If not, is it possible to skip mysql and/or gdal? I am not sure if mapserver requires gdal. Regards, Hao On Fri, Oct 30, 2009 at 3:18 PM, Normand Savard <nsavard@...> wrote:
_______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
|
|
|
|
|
|
Re: Starting apache error: httpd cannot execute binary fileHi Norm,
Could you help to look into the following issue? Thank you. Regards, Hao On Fri, Oct 30, 2009 at 4:59 PM, Hao Zhang <hao@...> wrote: Hi Norm, _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Starting apache error: httpd cannot execute binary fileHao Zhang wrote:
> > I see mysql-5.1.30-linux-i686-icc-glibc23.tar.gz is hardcoded in > get_mysql_devel.sh. Is there any compatible package for linux > sparc64? If not, is it possible to skip mysql and/or gdal? I am > not sure if mapserver requires gdal. > Hao, You could check on http://packages.debian.org/search?arch=sparc&keywords=mysql-client. I see one. You can disable the support of mysql in fgs-dev/pkg_def/gdal/fgs_build by commenting the line: . $FGS_PKGS_DEF_HOME/_misc/get_mysql_devel.sh This is the correct way to do it. MapServer requires gdal. If you're not sure id a package requires another one you have to view the content of the *.required file for a specific package for instance for MapServer view: fgs-dev/pkg_dev/base.required As a side note, to help you in your process of building fgs on Spac64 could you paste a copy of your "build.list" file to see where you are at? Norm _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
| < Prev | 1 - 2 - 3 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |