public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* gsl-1.3 builds okay, but fails to install on AIX.
@ 2003-08-15 11:57 Dr. David Kirkby
  2003-08-15 13:10 ` Dr. David Kirkby
  0 siblings, 1 reply; 4+ messages in thread
From: Dr. David Kirkby @ 2003-08-15 11:57 UTC (permalink / raw)
  To: gsl-discuss

[-- Attachment #1: Type: text/plain, Size: 9627 bytes --]

I'm using an IBM RS/6000 7025 F50 with 4x332 MHz, 1 Gb of RAM and
IBM's xlc compiler (version 6.0). The operating system is the latest
(AIX 5.2).

I built gsl-1.3 okay, but it fails when trying to do make check,
saying a file has the wrong extenstion. 

When it came to installing it, it fails too. 

Note, xlc is the reccomended ANSI compiler, although cc is the same
compiler, just with different switches - cc accepts K+R code, xlc does
not. 

* ANSI C compiler, UNIX header files
xlc:    use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries  = -L/usr/lpp/xlopt,-lxlopt,-lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        options    = -qansialias


The only switches I configured with were -O2 and -arch=604, to build
for my particular architecture. 

Note, I don't fully understand why the there are messages like
'1506-755 (W) The -a option is not supported in this release'. Seems a
bit odd I must admit. 


starling /usr/local/src/gsl-1.3 % make
runs okay, no errors, few warnings. 

starling /usr/local/src/gsl-1.3 % make check
Making check in gsl
Target "check" is up to date.
Making check in utils
Target "check" is up to date.
Making check in sys
        make  test
        xlc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -O2 -arch=604 -c
test.c
1506-755 (W) The -a option is not supported in this release.
        /bin/sh ../libtool --mode=link xlc  -O2 -arch=604  -o test 
test.o libgslsys.la ../ieee-utils/libgslieeeutils.la
../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la 
xlc -O2 -arch=604 -o test test.o  ./.libs/libgslsys.al
../ieee-utils/.libs/libgslieeeutils.al ../err/.libs/libgslerr.al
../test/.libs/libgsltest.al ../utils/.libs/libutils.al
xlc: 1501-218 file ./.libs/libgslsys.al contains an incorrect file
suffix
xlc: 1501-218 file ../ieee-utils/.libs/libgslieeeutils.al contains an
incorrect file suffix
xlc: 1501-218 file ../err/.libs/libgslerr.al contains an incorrect
file suffix
xlc: 1501-218 file ../test/.libs/libgsltest.al contains an incorrect
file suffix
xlc: 1501-218 file ../utils/.libs/libutils.al contains an incorrect
file suffix
make: The error code from the last command is 1.

Stop.
make: The error code from the last command is 2.

Stop.
make: The error code from the last command is 1.

Stop.


/* Here's the results from make install */


starling /usr/local/src/gsl-1.3 % make install


 .././install-sh -c -m 644 gsl_spline.h
/usr/local/include/gsl/gsl_spline.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in histogram
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/include/gsl
 .././install-sh -c -m 644 gsl_histogram.h
/usr/local/include/gsl/gsl_histogram.h
 .././install-sh -c -m 644 gsl_histogram2d.h
/usr/local/include/gsl/gsl_histogram2d.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in ode-initval
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/include/gsl
 .././install-sh -c -m 644 gsl_odeiv.h
/usr/local/include/gsl/gsl_odeiv.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in roots
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/include/gsl
 .././install-sh -c -m 644 gsl_roots.h
/usr/local/include/gsl/gsl_roots.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in multiroots
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/include/gsl
 .././install-sh -c -m 644 gsl_multiroots.h
/usr/local/include/gsl/gsl_multiroots.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in min
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/include/gsl
 .././install-sh -c -m 644 gsl_min.h /usr/local/include/gsl/gsl_min.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in multimin
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/include/gsl
 .././install-sh -c -m 644 gsl_multimin.h
/usr/local/include/gsl/gsl_multimin.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in monte
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/include/gsl
 .././install-sh -c -m 644 gsl_monte.h
/usr/local/include/gsl/gsl_monte.h
 .././install-sh -c -m 644 gsl_monte_vegas.h
/usr/local/include/gsl/gsl_monte_vegas.h
 .././install-sh -c -m 644 gsl_monte_miser.h
/usr/local/include/gsl/gsl_monte_miser.h
 .././install-sh -c -m 644 gsl_monte_plain.h
/usr/local/include/gsl/gsl_monte_plain.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in ntuple
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/include/gsl
 .././install-sh -c -m 644 gsl_ntuple.h
/usr/local/include/gsl/gsl_ntuple.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in diff
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/include/gsl
 .././install-sh -c -m 644 gsl_diff.h
/usr/local/include/gsl/gsl_diff.h
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in doc
Target "install-exec-am" is up to date.
        /bin/sh ../mkinstalldirs /usr/local/info
 .././install-sh -c -m 644 ./gsl-ref.info /usr/local/info/gsl-ref.info
 .././install-sh -c -m 644 ./gsl-ref.info-1
/usr/local/info/gsl-ref.info-1
 .././install-sh -c -m 644 ./gsl-ref.info-2
/usr/local/info/gsl-ref.info-2
 .././install-sh -c -m 644 ./gsl-ref.info-3
/usr/local/info/gsl-ref.info-3
 .././install-sh -c -m 644 ./gsl-ref.info-4
/usr/local/info/gsl-ref.info-4
 .././install-sh -c -m 644 ./gsl-ref.info-5
/usr/local/info/gsl-ref.info-5
 .././install-sh -c -m 644 ./gsl-ref.info-6
/usr/local/info/gsl-ref.info-6
 .././install-sh -c -m 644 ./gsl-ref.info-7
/usr/local/info/gsl-ref.info-7
 .././install-sh -c -m 644 ./gsl-ref.info-8
/usr/local/info/gsl-ref.info-8
 .././install-sh -c -m 644 ./gsl-ref.info-9
/usr/local/info/gsl-ref.info-9
 .././install-sh -c -m 644 ./gsl-ref.info-10
/usr/local/info/gsl-ref.info-10
 .././install-sh -c -m 644 ./gsl-ref.info-11
/usr/local/info/gsl-ref.info-11
 .././install-sh -c -m 644 ./gsl-ref.info-12
/usr/local/info/gsl-ref.info-12
 .././install-sh -c -m 644 ./gsl-ref.info-13
/usr/local/info/gsl-ref.info-13
 .././install-sh -c -m 644 ./gsl-ref.info-14
/usr/local/info/gsl-ref.info-14
 .././install-sh -c -m 644 ./gsl-ref.info-15
/usr/local/info/gsl-ref.info-15
 .././install-sh -c -m 644 ./gsl-ref.info-16
/usr/local/info/gsl-ref.info-16
 .././install-sh -c -m 644 ./gsl-ref.info-17
/usr/local/info/gsl-ref.info-17
 .././install-sh -c -m 644 ./gsl-ref.info-18
/usr/local/info/gsl-ref.info-18
 .././install-sh -c -m 644 ./gsl-ref.info-19
/usr/local/info/gsl-ref.info-19
 .././install-sh -c -m 644 ./gsl-ref.info-20
/usr/local/info/gsl-ref.info-20
 .././install-sh -c -m 644 ./gsl-ref.info-21
/usr/local/info/gsl-ref.info-21
 .././install-sh -c -m 644 ./gsl-ref.info-22
/usr/local/info/gsl-ref.info-22
 .././install-sh -c -m 644 ./gsl-ref.info-23
/usr/local/info/gsl-ref.info-23
 install-info --info-dir=/usr/local/info /usr/local/info/gsl-ref.info
        make  install-man1 install-man3
        /bin/sh ../mkinstalldirs /usr/local/man/man1
 .././install-sh -c -m 644 ./gsl-config.1
/usr/local/man/man1/gsl-config.1
 .././install-sh -c -m 644 ./gsl-randist.1
/usr/local/man/man1/gsl-randist.1
 .././install-sh -c -m 644 ./gsl-histogram.1
/usr/local/man/man1/gsl-histogram.1
        /bin/sh ../mkinstalldirs /usr/local/man/man3
 .././install-sh -c -m 644 ./gsl.3 /usr/local/man/man3/gsl.3
Target "install-data-am" is up to date.
Target "install" is up to date.
        /bin/sh ./mkinstalldirs /usr/local/lib
/bin/sh ./libtool  --mode=install ./install-sh -c libgsl.la
/usr/local/lib/libgsl.la
./install-sh -c .libs/libgsl.a /usr/local/lib/libgsl.a
./install-sh -c .libs/libgsl.lai /usr/local/lib/libgsl.la
./install-sh -c .libs/libgsl.a /usr/local/lib/libgsl.a
ranlib /usr/local/lib/libgsl.a
chmod 644 /usr/local/lib/libgsl.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LIBPATH' environment variable
     during execution
   - use the `-Wl,-bnolibpath -Wl,-blibpath:LIBDIR:/usr/lib:/lib'
linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
        /bin/sh ./mkinstalldirs /usr/local/bin
 /bin/sh ./libtool  --mode=install ./install-sh -c  gsl-randist
/usr/local/bin/gsl-randist
./install-sh -c .libs/gsl-randist /usr/local/bin/gsl-randist
install:  .libs/gsl-randist does not exist
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 2.


Stop.
make: The error code from the last command is 1.


Stop.



-- 
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail davek@medphys.ucl.ac.uk

[-- Attachment #2: config.log.gz --]
[-- Type: application/x-gzip, Size: 2664 bytes --]

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

* Re: gsl-1.3 builds okay, but fails to install on AIX.
  2003-08-15 11:57 gsl-1.3 builds okay, but fails to install on AIX Dr. David Kirkby
@ 2003-08-15 13:10 ` Dr. David Kirkby
  2003-08-15 13:24   ` Jochen Küpper
  2003-08-15 15:33   ` Brian Gough
  0 siblings, 2 replies; 4+ messages in thread
From: Dr. David Kirkby @ 2003-08-15 13:10 UTC (permalink / raw)
  To: gsl-discuss

"Dr. David Kirkby" wrote:

> Note, I don't fully understand why the there are messages like
> '1506-755 (W) The -a option is not supported in this release'. Seems a
> bit odd I must admit.

This is now solved. 

I now realise what this warning was - the option -arch=604 should have
been -qarch=604. Hence the compiler see the -a and thought it was an
option, which it was not supposed to be. Most options start with q on
the AIX compiler. 

The linker however did accept the erroneous -a option and screwed
things up with it. After correcting that option and adding -lm,
gsl-1.3 now passes tests and installs properly. 

I say 'passes tests' as its not too easy unless one stares at the
screen for ages, to see if there are any obvious failures. Would it
not be more sensible to use the autoconf/automake method of testing,
so one gets a nice summary at the end, like this, which I get from one
of my packages. 

======================
All 82 tests passed
(7 tests were not run)
======================

-- 
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail davek@medphys.ucl.ac.uk

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

* Re: gsl-1.3 builds okay, but fails to install on AIX.
  2003-08-15 13:10 ` Dr. David Kirkby
@ 2003-08-15 13:24   ` Jochen Küpper
  2003-08-15 15:33   ` Brian Gough
  1 sibling, 0 replies; 4+ messages in thread
From: Jochen Küpper @ 2003-08-15 13:24 UTC (permalink / raw)
  To: gsl-discuss

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

On Fri, 15 Aug 2003 14:10:55 +0100 David Kirkby wrote:

David> I say 'passes tests' as its not too easy unless one stares at
David> the screen for ages, to see if there are any obvious failures.

You can always redirect the output to a file and inspect that
afterwards, i.e. using search facilities of less or your editor...

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        Sex, drugs and rock-n-roll

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

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

* Re: gsl-1.3 builds okay, but fails to install on AIX.
  2003-08-15 13:10 ` Dr. David Kirkby
  2003-08-15 13:24   ` Jochen Küpper
@ 2003-08-15 15:33   ` Brian Gough
  1 sibling, 0 replies; 4+ messages in thread
From: Brian Gough @ 2003-08-15 15:33 UTC (permalink / raw)
  To: Dr. David Kirkby; +Cc: gsl-discuss

Dr. David Kirkby writes:
 > I say 'passes tests' as its not too easy unless one stares at the
 > screen for ages, to see if there are any obvious failures. Would it
 > not be more sensible to use the autoconf/automake method of testing,
 > so one gets a nice summary at the end, like this, which I get from one
 > of my packages. 

The standard method is used, but on a per-directory basis -- if it
reaches the end and there is no error message then all the tests have
passed.   As Jochen says, it's best to redirect the output to a file.

-- 
Brian

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

end of thread, other threads:[~2003-08-15 15:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-15 11:57 gsl-1.3 builds okay, but fails to install on AIX Dr. David Kirkby
2003-08-15 13:10 ` Dr. David Kirkby
2003-08-15 13:24   ` Jochen Küpper
2003-08-15 15:33   ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).