comp.lang.ada
 help / color / mirror / Atom feed
From: tonyg <tonythegair@googlemail.com>
Subject: Re: GNATColl install script problem
Date: Sat, 3 Jul 2010 08:59:21 -0700 (PDT)
Date: 2010-07-03T08:59:21-07:00	[thread overview]
Message-ID: <1fa9ff62-6952-4bb4-ac6a-251dcd2da06e@j4g2000yqh.googlegroups.com> (raw)
In-Reply-To: 6fbc9e8c-8a11-4be0-81bb-076317788eed@b6g2000vbr.googlegroups.com

On 2 July, 12:08, tonyg <tonytheg...@googlemail.com> wrote:
> On 2 July, 11:36, sjw <simon.j.wri...@mac.com> wrote:
>
>
>
>
>
> > On Jul 2, 11:03 am, tonyg <tonytheg...@googlemail.com> wrote:
>
> > > I get the following error when doing the make part of the installation
> > > - can this -j option be taken out of the script does anyone know ?
>
> > > tony@tony-laptop:~/Downloads/gnatcoll-gpl-2010-src$ make
> > > make: [do_links] Error 1 (ignored)
> > > make LIBRARY_TYPE=static build_library_type
> > > make[1]: Entering directory `/home/tony/Downloads/gnatcoll-gpl-2010-
> > > src'
> > > gprbuild -m -j -XLIBRARY_TYPE=static -Pgnatcoll_build -p
> > > gprbuild: illegal option "-j" on the command line
>
> > That should be -jn where n is "the number of concurrent processes to
> > be used to compile". Either remove -j from the script or make it -j2
> > (for example). Should make no difference to the end result.
>
> This seems to of worked well and I think I have an installation of
> gnatcoll, but have taken a look inside the include direction of the
> gnatcoll directory containing the ada files I have noticed that there
> seems to specfic files for postgres and sqllite but have not seen any
> mysql specific files. Should I be worried ?

When I say worked well the 'make test' part of the script returned an
error which is


make prefix=/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install
install >/dev/null
cp: cannot stat `gnatcoll.html': No such file or directory
make[3]: [install] Error 1 (ignored)
cp: cannot stat `gnatcoll.pdf': No such file or directory
make[3]: [install] Error 1 (ignored)
cp: cannot stat `gnatcoll.html': No such file or directory
make[3]: [install] Error 1 (ignored)
cp: cannot stat `gnatcoll.pdf': No such file or directory
make[3]: [install] Error 1 (ignored)
make prefix=/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install -
C testsuite test
make[1]: Entering directory `/home/tony/Downloads/gnatcoll-gpl-2010-
src/testsuite'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function `osint___elabs':
osint.adb:(.text+0xda8): undefined reference to
`__gnat_get_env_vars_case_sensitive'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function `osint__is_writable_file':
osint.adb:(.text+0x4668): undefined reference to
`__gnat_is_writable_file_attr'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function `osint__is_symbolic_link':
osint.adb:(.text+0x46a8): undefined reference to
`__gnat_is_symbolic_link_attr'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function `osint__is_regular_file':
osint.adb:(.text+0x46e8): undefined reference to
`__gnat_is_regular_file_attr'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function `osint__is_readable_file':
osint.adb:(.text+0x51c8): undefined reference to
`__gnat_is_readable_file_attr'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function
`osint__is_executable_file':
osint.adb:(.text+0x5208): undefined reference to
`__gnat_is_executable_file_attr'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function `osint__is_directory':
osint.adb:(.text+0x52a8): undefined reference to
`__gnat_is_directory_attr'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function `osint___elabb':
osint.adb:(.text+0x9170): undefined reference to
`__gnat_reset_attributes'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function `osint__file_time_stamp':
osint.adb:(.text+0x55f8): undefined reference to
`__gnat_file_time_name_attr'
/home/tony/Downloads/gnatcoll-gpl-2010-src/local_install/lib/gnatcoll/
static//libgnatcoll.a(osint.o): In function `osint__file_length':
osint.adb:(.text+0x579f): undefined reference to
`__gnat_file_length_attr'
collect2: ld returned 1 exit status
gnatlink: error when calling /home/tony/gnat/bin/gcc
gnatmake: *** link failed.
Compilation error
make[1]: Leaving directory `/home/tony/Downloads/gnatcoll-gpl-2010-src/
testsuite'
tony@tony-laptop:~/Downloads/gnatcoll-gpl-2010-src$

I have gnat installed in /gnat in my home directory and gnatcoll's
prefix when configured was that same directory



  reply	other threads:[~2010-07-03 15:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02 10:03 GNATColl install script problem tonyg
2010-07-02 10:36 ` sjw
2010-07-02 11:08   ` tonyg
2010-07-03 15:59     ` tonyg [this message]
2010-07-02 10:56 ` Ludovic Brenta
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox