Compiling FDO 3.4.0 on Ubuntu 8.04

7 messages Options
Embed this post
Permalink
michogar

Compiling FDO 3.4.0 on Ubuntu 8.04

Reply Threaded More More options
Print post
Permalink
Hi all, when I execute bash build_thirdparty.sh I have this error:

root@ubuntu-osmius:/home/michogar/mapguide/OpenSource_FDO# bash build_thirdparty.sh
Configuring FDO Makefiles
acinclude.m4:7: warning: underquoted definition of FDO_HELP_STRING
acinclude.m4:7:   run info '(automake)Extending aclocal'
acinclude.m4:7:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for bison... bison -y
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... failed
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
configure: Building with default location of FDO API files at /home/michogar/mapguide/OpenSource_FDO/Fdo
configure: Building with default location of FDO Utility files at /home/michogar/mapguide/OpenSource_FDO/Utilities
configure: Building with default location of FDO Thirdparty files at /home/michogar/mapguide/OpenSource_FDO/Thirdparty
configure: Using optimized configuration
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Fdo/Makefile
config.status: creating Utilities/Makefile
config.status: creating Thirdparty/Makefile
config.status: creating Fdo/Unmanaged/Makefile
config.status: creating Fdo/Unmanaged/Src/Makefile
config.status: creating Fdo/Unmanaged/Src/McToMsf/Makefile
config.status: creating Fdo/Unmanaged/Src/Message/Makefile
config.status: creating Fdo/Unmanaged/Src/FileToHdr/Makefile
config.status: creating Fdo/Unmanaged/Src/Nls/Makefile
config.status: creating Fdo/Unmanaged/Src/Common/Makefile
config.status: creating Fdo/Unmanaged/Src/Geometry/Makefile
config.status: creating Fdo/Unmanaged/Src/Spatial/Makefile
config.status: creating Fdo/Unmanaged/Src/Fdo/Makefile
config.status: creating Fdo/Unmanaged/Inc/Makefile
config.status: creating Fdo/Managed/Makefile
config.status: creating Fdo/Install/Makefile
config.status: creating Fdo/Install/XsdInstallPaths/Makefile
config.status: creating Fdo/Docs/Makefile
config.status: creating Fdo/Docs/doc_src/Makefile
config.status: creating Fdo/Docs/doc_src/group_and_page_definitions/Makefile
config.status: creating Fdo/Docs/doc_src/headers_and_footers/Makefile
config.status: creating Fdo/Docs/XmlSchema/Makefile
config.status: creating Fdo/UnitTest/Makefile
config.status: creating Utilities/Common/Makefile
config.status: creating Utilities/TestCommon/Makefile
config.status: creating Utilities/SQLiteInterface/Makefile
config.status: creating Utilities/OWS/Makefile
config.status: creating Utilities/OWS/Src/Makefile
config.status: creating Utilities/ExpressionEngine/Makefile
config.status: creating Utilities/ExpressionEngine/Src/Makefile
config.status: creating Utilities/ExpressionEngine/Inc/Makefile
config.status: creating Utilities/SchemaMgr/Makefile
config.status: creating Utilities/SchemaMgr/Inc/Makefile
config.status: creating Utilities/SchemaMgr/Nls/Makefile
config.status: creating Utilities/SchemaMgr/Src/Makefile
config.status: creating Utilities/SchemaMgr/Src/Sm/Makefile
config.status: creating Utilities/SchemaMgr/Src/Sm/Lp/Makefile
config.status: creating Utilities/SchemaMgr/Src/Sm/Ov/Makefile
config.status: creating Utilities/SchemaMgr/Src/Sm/Ph/Makefile
config.status: creating Utilities/SchemaMgr/Src/Sm/Ph/Cfg/Makefile
config.status: creating Utilities/SchemaMgr/Src/Sm/Ph/Mt/Makefile
config.status: creating Utilities/SchemaMgr/Src/Sm/Ph/Rb/Makefile
config.status: creating Utilities/SchemaMgr/Src/Sm/Ph/Rd/Makefile
config.status: executing depfiles commands
./Thirdparty.sh: 27: Syntax error: Bad fd number
make[1]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Thirdparty'
make[1]: *** No hay ninguna regla para construir el objetivo `apache/xml-xalan/c/lib/libxalan-c.so.17.0', necesario para `all-am'.  Alto.
make[1]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Thirdparty'
make: *** [install-recursive] Error 1

Can you help me??.

Thanks.



--
# michogar
# Analista Programador SIG
# GNU/Linux Counter 462666

Una visión personal:
http://michogar.blogspot.com

El dia a dia:
http://twitter.com/michogar



_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
Jason Birch

RE: Compiling FDO 3.4.0 on Ubuntu 8.04

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

This is typically due to Ubuntu shipping with a non-bash sh as the default shell.  You can change this be typing:

 

sudo dpkg-reconfigure dash

 

and selecting "No".

 

There are some basic compilation notes for Ubuntu here; please feel free to update them as you progress...

 

http://wiki.osgeo.org/wiki/Building_MapGuide_on_Ubuntu_8.04

 

Jason

 

From: Micho Gar
Sent: April-20-09 8:45 AM
Subject: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

Hi all, when I execute bash build_thirdparty.sh I have this error:

./Thirdparty.sh: 27: Syntax error: Bad fd number
make[1]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Thirdparty'
make[1]: *** No hay ninguna regla para construir el objetivo `apache/xml-xalan/c/lib/libxalan-c.so.17.0', necesario para `all-am'.  Alto.
make[1]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Thirdparty'
make: *** [install-recursive] Error 1


_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
Traian Stanev

RE: Compiling FDO 3.4.0 on Ubuntu 8.04

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

 

Can’t we just change the build .sh files to refer to !/bin/bash at the top instead of !/bin/sh? This would make it unambiguous which shell needs to execute them, even if the user is using a shell other than bash as their default shell (all those korn and C shell users out there, heh).

 

Traian

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Birch
Sent: Monday, April 20, 2009 12:33 PM
To: FDO Users Mail List
Subject: RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

This is typically due to Ubuntu shipping with a non-bash sh as the default shell.  You can change this be typing:

 

sudo dpkg-reconfigure dash

 

and selecting "No".

 

There are some basic compilation notes for Ubuntu here; please feel free to update them as you progress...

 

http://wiki.osgeo.org/wiki/Building_MapGuide_on_Ubuntu_8.04

 

Jason

 

From: Micho Gar
Sent: April-20-09 8:45 AM
Subject: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

Hi all, when I execute bash build_thirdparty.sh I have this error:

./Thirdparty.sh: 27: Syntax error: Bad fd number
make[1]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Thirdparty'
make[1]: *** No hay ninguna regla para construir el objetivo `apache/xml-xalan/c/lib/libxalan-c.so.17.0', necesario para `all-am'.  Alto.
make[1]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Thirdparty'
make: *** [install-recursive] Error 1


_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
michogar

Re: Compiling FDO 3.4.0 on Ubuntu 8.04

Reply Threaded More More options
Print post
Permalink
I change the !/bin/sh to !/bin/bash at the top of the .sh files. At moment if running. If I have another problem I ask you. Thanks. I am making a document about the installation, but I am making in spanish.

Thanks.



2009/4/20 Traian Stanev <[hidden email]>

 

Can’t we just change the build .sh files to refer to !/bin/bash at the top instead of !/bin/sh? This would make it unambiguous which shell needs to execute them, even if the user is using a shell other than bash as their default shell (all those korn and C shell users out there, heh).

 

Traian

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Birch
Sent: Monday, April 20, 2009 12:33 PM
To: FDO Users Mail List
Subject: RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

This is typically due to Ubuntu shipping with a non-bash sh as the default shell.  You can change this be typing:

 

sudo dpkg-reconfigure dash

 

and selecting "No".

 

There are some basic compilation notes for Ubuntu here; please feel free to update them as you progress...

 

http://wiki.osgeo.org/wiki/Building_MapGuide_on_Ubuntu_8.04

 

Jason

 

From: Micho Gar
Sent: April-20-09 8:45 AM
Subject: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

Hi all, when I execute bash build_thirdparty.sh I have this error:

./Thirdparty.sh: 27: Syntax error: Bad fd number
make[1]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Thirdparty'
make[1]: *** No hay ninguna regla para construir el objetivo `apache/xml-xalan/c/lib/libxalan-c.so.17.0', necesario para `all-am'.  Alto.
make[1]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Thirdparty'
make: *** [install-recursive] Error 1


_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users




--
# michogar
# Analista Programador SIG
# GNU/Linux Counter 462666

Una visión personal:
http://michogar.blogspot.com

El dia a dia:
http://twitter.com/michogar



_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
Jason Birch

RE: Compiling FDO 3.4.0 on Ubuntu 8.04

Reply Threaded More More options
Print post
Permalink
In reply to this post by Traian Stanev
Some javascript/style in this post has been disabled (why?)

Is Bash available on all modern Linux?  I remember working on Unix platforms where it wasn't.

 

This isn't a question of the shell the user has set (I use tcsh myself), just the operating system's default sh.

 

Pointing to /bin/sh is supposed to give you a safe, posix-compliant shell.  IMO, Ubuntu is doing the wrong thing by pointing to dash be default.  I'm not sure that explicitly pointing to bash is the answer, but I'm not au-courant with Linux.

 

Jason

 

From: Traian Stanev
Sent: April-20-09 9:35 AM
Subject: RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

Can’t we just change the build .sh files to refer to !/bin/bash at the top instead of !/bin/sh? This would make it unambiguous which shell needs to execute them, even if the user is using a shell other than bash as their default shell (all those korn and C shell users out there, heh).


_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
Traian Stanev

RE: Compiling FDO 3.4.0 on Ubuntu 8.04

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

 

The assumption of bash being available is easier to meet than the assumption the build script currently makes: that /bin/sh points to bash (since this assumption in itself includes the assumption that bash is available).

 

Traian

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Birch
Sent: Monday, April 20, 2009 1:39 PM
To: FDO Users Mail List
Subject: RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

Is Bash available on all modern Linux?  I remember working on Unix platforms where it wasn't.

 

This isn't a question of the shell the user has set (I use tcsh myself), just the operating system's default sh.

 

Pointing to /bin/sh is supposed to give you a safe, posix-compliant shell.  IMO, Ubuntu is doing the wrong thing by pointing to dash be default.  I'm not sure that explicitly pointing to bash is the answer, but I'm not au-courant with Linux.

 

Jason

 

From: Traian Stanev
Sent: April-20-09 9:35 AM
Subject: RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

Can’t we just change the build .sh files to refer to !/bin/bash at the top instead of !/bin/sh? This would make it unambiguous which shell needs to execute them, even if the user is using a shell other than bash as their default shell (all those korn and C shell users out there, heh).


_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
michogar

Re: Compiling FDO 3.4.0 on Ubuntu 8.04

Reply Threaded More More options
Print post
Permalink
Hi all,

now I have this problem:

make[4]: No se hace nada para `install-data-am'.
make[4]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine/Src'
make[3]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine/Src'
make[2]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine/Src'
Making install in Inc
make[2]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine/Inc'
make[2]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine/Inc'
make[2]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine'
make[3]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine'
make[3]: No se hace nada para `install-exec-am'.
make[3]: No se hace nada para `install-data-am'.
make[3]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine'
make[2]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine'
make[1]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/ExpressionEngine'
Making install in OWS
make[1]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/OWS'
Making install in Src
make[2]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/OWS/Src'
make[3]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/OWS/Src'
make[3]: No se hace nada para `install-exec-am'.
make[3]: No se hace nada para `install-data-am'.
make[3]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/OWS/Src'
make[2]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/OWS/Src'
make[2]: se ingresa al directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/OWS'
make[2]: *** No hay ninguna regla para construir el objetivo `/home/michogar/mapguide/OpenSource_FDO/Thirdparty/boost/stage/lib/libboost_thread-mt.a', necesario para `libFdoOws.la'.  Alto.
make[2]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/OWS'
make[1]: *** [install-recursive] Error 1
make[1]: se sale del directorio `/home/michogar/mapguide/OpenSource_FDO/Utilities/OWS'
make: *** [install-recursive] Error 1

I have done the steps in the document, Building Maoguide on Ubuntu 8.04.

Thanks.

2009/4/20 Traian Stanev <[hidden email]>

 

The assumption of bash being available is easier to meet than the assumption the build script currently makes: that /bin/sh points to bash (since this assumption in itself includes the assumption that bash is available).

 

Traian

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Birch
Sent: Monday, April 20, 2009 1:39 PM


To: FDO Users Mail List
Subject: RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

Is Bash available on all modern Linux?  I remember working on Unix platforms where it wasn't.

 

This isn't a question of the shell the user has set (I use tcsh myself), just the operating system's default sh.

 

Pointing to /bin/sh is supposed to give you a safe, posix-compliant shell.  IMO, Ubuntu is doing the wrong thing by pointing to dash be default.  I'm not sure that explicitly pointing to bash is the answer, but I'm not au-courant with Linux.

 

Jason

 

From: Traian Stanev
Sent: April-20-09 9:35 AM
Subject: RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04

 

Can’t we just change the build .sh files to refer to !/bin/bash at the top instead of !/bin/sh? This would make it unambiguous which shell needs to execute them, even if the user is using a shell other than bash as their default shell (all those korn and C shell users out there, heh).


_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users




--
# michogar
# Analista Programador SIG
# GNU/Linux Counter 462666

Una visión personal:
http://michogar.blogspot.com

El dia a dia:
http://twitter.com/michogar



_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users