[Developers] install admb on ubuntu 12.10

Johnoel Ancheta johnoel at hawaii.edu
Fri Nov 30 13:26:54 PST 2012


Have a fix for the issue.


On Fri, Nov 30, 2012 at 11:18 AM, dave fournier <davef at otter-rsch.com>wrote:

>  On 12-11-30 01:12 PM, Johnoel Ancheta wrote:
>
> Shouldn't the configure script report an error?
>
>  $ sudo apt-get install g++
>
>
> On Fri, Nov 30, 2012 at 11:04 AM, fernando <fdoespin at gmail.com> wrote:
>
>> Hi,
>>
>> I am try install admb-11 in ubuntu 12.10 and get the following error....
>>
>> root at fish:/home/fernando/Downloads/admb-11# ./configure
>> checking for gcc... gcc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> 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 g++... g++
>> checking whether we are using the GNU C++ compiler... yes
>> checking whether g++ accepts -g... yes
>> checking how to run the C++ preprocessor... g++ -E
>> checking for grep that handles long lines and -e... /bin/grep
>> checking for egrep... /bin/grep -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 iostream usability... yes
>> checking iostream presence... yes
>> checking for iostream... yes
>> checking for flex... flex
>> checking lex output file root... lex.yy
>> checking lex library... none needed
>> checking whether yytext is a pointer... no
>> checking for sed... yes
>> checking for svnversion... yes
>> creating REVISION...
>> checking size of int *... 8
>> configure: creating ./config.status
>> config.status: creating GNUmakefile
>> config.status: creating admb_configure.h
>> config.status: creating scripts/admb/admb-bin
>>
>> Configure completed for 'admb-11-linux-gcc4.7-64bit'.
>> To build ADMB, type 'make'.
>>
>> root at fish:/home/fernando/Downloads/admb-11# make
>> CC=gcc CFLAGS="" CXX=g++ CXXFLAGS=""
>> LIBPATH=../build/objects/admb-11-linux-gcc4.7-64bit
>> DISK=../build/admb-11-linux-gcc4.7-64bit ADMB_CONFIGURE=1 make
>> --directory=src --file=linux.mak
>> make[1]: Entering directory `/home/fernando/Downloads/admb-11/src'
>> mkdir -p
>> ../build/admb-11-linux-gcc4.7-64bit/{bin,docs/manuals,examples,include,lib}
>> mkdir -p ../build/objects/admb-11-linux-gcc4.7-64bit/linad99-olp
>> mkdir -p ../build/objects/admb-11-linux-gcc4.7-64bit/linad99-slp
>> mkdir -p ../build/objects/admb-11-linux-gcc4.7-64bit/df1b2-separable-olp
>> mkdir -p ../build/objects/admb-11-linux-gcc4.7-64bit/df1b2-separable-slp
>> mkdir -p ../build/objects/admb-11-linux-gcc4.7-64bit/nh99-olp
>> mkdir -p ../build/objects/admb-11-linux-gcc4.7-64bit/tools99-olp
>> make --directory=linad99 AR=ar CXX=g++ CXXFLAGS="-c -O3 -Wall
>> -D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE -DADMB_REVISION=Unversioned
>> directory -DADMB_VERSION=11  -DOPT_LIB -I../df1b2-separable -I../nh99
>> -I../linad99 -I../tools99"
>> LIBPATH=../../build/objects/admb-11-linux-gcc4.7-64bit/linad99-olp
>> DISKDIR=../../build/admb-11-linux-gcc4.7-64bit -f optg32-rh8-laplace.mak
>> disk
>> make[2]: Entering directory `/home/fernando/Downloads/admb-11/src/linad99'
>> g++ -c -O3 -Wall -D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE
>> -DADMB_REVISION=Unversioned directory -DADMB_VERSION=11  -DOPT_LIB
>> -I../df1b2-separable -I../nh99 -I../linad99 -I../tools99 cgamdev.cpp -o
>> ../../build/objects/admb-11-linux-gcc4.7-64bit/linad99-olp/cgamdev.obj
>> g++: error: directory: No such file or directory
>> make[2]: *** [cgamdev.obj] Error 1
>> make[2]: Leaving directory `/home/fernando/Downloads/admb-11/src/linad99'
>> make[1]: *** [dist] Error 2
>> make[1]: Leaving directory `/home/fernando/Downloads/admb-11/src'
>> make: *** [admb] Error 2
>>
>>
>> root at fish:/home/fernando/Downloads/admb-11# uname -a
>> Linux fish 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012
>> x86_64 x86_64 x86_64 GNU/Linux
>>
>> root at fish:/home/fernando/Downloads/admb-11# gcc -v
>> Using built-in specs.
>> COLLECT_GCC=gcc
>> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
>> Target: x86_64-linux-gnu
>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
>> 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
>> --program-suffix=-4.7 --enable-shared --enable-linker-build-id
>> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
>> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
>> --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
>> --enable-libstdcxx-debug --enable-libstdcxx-time=yes
>> --enable-gnu-unique-object --enable-plugin --enable-objc-gc
>> --disable-werror --with-arch-32=i686 --with-tune=generic
>> --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
>> --target=x86_64-linux-gnu
>> Thread model: posix
>> gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
>>
>>
>> Thank for all
>>
>> fer
>> _______________________________________________
>> Developers mailing list
>> Developers at admb-project.org
>> http://lists.admb-project.org/mailman/listinfo/developers
>>
>
>
>
> _______________________________________________
> Developers mailing listDevelopers at admb-project.orghttp://lists.admb-project.org/mailman/listinfo/developers
>
>
>
> _______________________________________________
> Developers mailing list
> Developers at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/developers/attachments/20121130/8d6de4f5/attachment-0001.html>


More information about the Developers mailing list