[ADMB Users] [Developers] install admb on ubuntu 12.10
Johnoel Ancheta
johnoel at hawaii.edu
Fri Nov 30 13:34:20 PST 2012
Thanks for catching that, I has been fixed. For now just delete the
REVISION file, then
$ make
On Fri, Nov 30, 2012 at 11:26 AM, fernando <fdoespin at gmail.com> wrote:
> root at fish:/home/fernando/Downloads/admb-11# svnversion
> Unversioned directory
>
>
>
>
> On 11/30/2012 06:25 PM, Johnoel Ancheta wrote:
>
> Can you run
>
> $ svnversion
>
> in the folder and send the output?
>
>
> On Fri, Nov 30, 2012 at 11:21 AM, Johnoel Ancheta <johnoel at hawaii.edu>wrote:
>
>> Try and change the contents of the REVISION file to 0.
>>
>>
>> On Fri, Nov 30, 2012 at 11:14 AM, fernando <fdoespin at gmail.com> wrote:
>>
>>> fernando at fish:~$ sudo apt-get install g++
>>> [sudo] password for fernando:
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> g++ is already the newest version.
>>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>>
>>>
>>> On 11/30/2012 06:12 PM, Johnoel Ancheta wrote:
>>>
>>> $ 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
>>>>
>>>
>>>
>>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20121130/830a8dc5/attachment.html>
More information about the Users
mailing list