From: tonyg on
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(a)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
make[1]: *** [build_library_type] Error 4
make[1]: Leaving directory `/home/tony/Downloads/gnatcoll-gpl-2010-
src'
make: *** [static] Error 2
tony(a)tony-laptop:~/Downloads/gnatcoll-gpl-2010-src$

From: sjw on
On Jul 2, 11:03 am, tonyg <tonytheg...(a)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(a)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.
From: Ludovic Brenta on
tonyg wrote on comp.lang.ada:
> 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(a)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
> make[1]: *** [build_library_type] Error 4
> make[1]: Leaving directory `/home/tony/Downloads/gnatcoll-gpl-2010-
> src'
> make: *** [static] Error 2
> tony(a)tony-laptop:~/Downloads/gnatcoll-gpl-2010-src$

<ad>
You have not said what platform you used but it looks Unix-like. If
you happen to use Debian (GNU/Linux or GNU/kFreeBSD), you are better
off installing the package libgnadeodbc1-dev. Note that gnatcoll
contains a fork of gnade for database connectivity; its real added
value is the thick binding generator that generates Ada types
corresponding to the tables in your database schema. I've never tried
it but there was a very nice paper about this generator in the Ada
User Journal a couple issues ago.
</ad>

--
Ludovic Brenta.
From: tonyg on
On 2 July, 11:36, sjw <simon.j.wri...(a)mac.com> wrote:
> On Jul 2, 11:03 am, tonyg <tonytheg...(a)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(a)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 ?
From: tonyg on
On 2 July, 12:08, tonyg <tonytheg...(a)googlemail.com> wrote:
> On 2 July, 11:36, sjw <simon.j.wri...(a)mac.com> wrote:
>
>
>
>
>
> > On Jul 2, 11:03 am, tonyg <tonytheg...(a)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(a)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(a)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
 | 
Pages: 1
Prev: GNATcoll
Next: gnatcoll and mysql