comp.lang.ada
 help / color / mirror / Atom feed
* GNATColl install script problem
@ 2010-07-02 10:03 tonyg
  2010-07-02 10:36 ` sjw
  2010-07-02 10:56 ` Ludovic Brenta
  0 siblings, 2 replies; 5+ messages in thread
From: tonyg @ 2010-07-02 10:03 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GNATColl install script problem
  2010-07-02 10:03 GNATColl install script problem tonyg
@ 2010-07-02 10:36 ` sjw
  2010-07-02 11:08   ` tonyg
  2010-07-02 10:56 ` Ludovic Brenta
  1 sibling, 1 reply; 5+ messages in thread
From: sjw @ 2010-07-02 10:36 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GNATColl install script problem
  2010-07-02 10:03 GNATColl install script problem tonyg
  2010-07-02 10:36 ` sjw
@ 2010-07-02 10:56 ` Ludovic Brenta
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Brenta @ 2010-07-02 10:56 UTC (permalink / raw)


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@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@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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GNATColl install script problem
  2010-07-02 10:36 ` sjw
@ 2010-07-02 11:08   ` tonyg
  2010-07-03 15:59     ` tonyg
  0 siblings, 1 reply; 5+ messages in thread
From: tonyg @ 2010-07-02 11:08 UTC (permalink / raw)


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 ?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GNATColl install script problem
  2010-07-02 11:08   ` tonyg
@ 2010-07-03 15:59     ` tonyg
  0 siblings, 0 replies; 5+ messages in thread
From: tonyg @ 2010-07-03 15:59 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-03 15:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2010-07-02 10:56 ` Ludovic Brenta

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