public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] cernlib 2005 source installation
@ 2006-02-04 13:39 Marco Calviani
  2006-02-04 20:28 ` Donnie Berkholz
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Calviani @ 2006-02-04 13:39 UTC (permalink / raw
  To: gentoo-science

Hi list,
   i'm trying to build cernlib 2005 from source, having as a base the
cernlib-2003.ebuild found on bugzilla #65708 reported by Sebastien
Fabbro. However i'm having problem during the building phase:

in the 2005/build/scripts directory
# make -k install.bin

rm -f /home/mirtux/cernlib_2005_source/tar/2005/bin/paw
install -c -s  /home/mirtux/cernlib_2005_source/tar/2005/src/scripts/paw
/home/mirtux/cernlib_2005_source/tar/2005/bin/paw
strip: /home/mirtux/cernlib_2005_source/tar/2005/bin/paw: File format
not recognized
install: strip failed
gmake: *** [/home/mirtux/cernlib_2005_source/tar/2005/bin/paw] Error 1
gmake: Target `install.bin' not remade because of errors.
rm -f /home/mirtux/cernlib_2005_source/tar/2005/bin/cernlib
install -c -s  /home/mirtux/cernlib_2005_source/tar/2005/src/scripts/cernlib
/home/mirtux/cernlib_2005_source/tar/2005/bin/cernlib
strip: /home/mirtux/cernlib_2005_source/tar/2005/bin/cernlib: File
format not recognized
install: strip failed
gmake: *** [/home/mirtux/cernlib_2005_source/tar/2005/bin/cernlib] Error 1
gmake: Target `install.bin' not remade because of errors.
rm -f /home/mirtux/cernlib_2005_source/tar/2005/bin/gxint
install -c -s  /home/mirtux/cernlib_2005_source/tar/2005/src/scripts/gxint
/home/mirtux/cernlib_2005_source/tar/2005/bin/gxint
strip: /home/mirtux/cernlib_2005_source/tar/2005/bin/gxint: File
format not recognized
install: strip failed
gmake: *** [/home/mirtux/cernlib_2005_source/tar/2005/bin/gxint] Error 1
gmake: Target `install.bin' not remade because of errors.

What file format not recognized mean?

Best regards,
MC

-- 
gentoo-science@gentoo.org mailing list



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

* Re: [gentoo-science] cernlib 2005 source installation
  2006-02-04 13:39 [gentoo-science] cernlib 2005 source installation Marco Calviani
@ 2006-02-04 20:28 ` Donnie Berkholz
  2006-02-04 22:58   ` Marco Calviani
  0 siblings, 1 reply; 8+ messages in thread
From: Donnie Berkholz @ 2006-02-04 20:28 UTC (permalink / raw
  To: gentoo-science

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

Marco Calviani wrote:
> Hi list,
>    i'm trying to build cernlib 2005 from source, having as a base the
> cernlib-2003.ebuild found on bugzilla #65708 reported by Sebastien
> Fabbro. However i'm having problem during the building phase:
> 
> in the 2005/build/scripts directory
> # make -k install.bin
> 
> rm -f /home/mirtux/cernlib_2005_source/tar/2005/bin/paw
> install -c -s  /home/mirtux/cernlib_2005_source/tar/2005/src/scripts/paw
> /home/mirtux/cernlib_2005_source/tar/2005/bin/paw
> strip: /home/mirtux/cernlib_2005_source/tar/2005/bin/paw: File format
> not recognized
> install: strip failed
> gmake: *** [/home/mirtux/cernlib_2005_source/tar/2005/bin/paw] Error 1
> gmake: Target `install.bin' not remade because of errors.
> rm -f /home/mirtux/cernlib_2005_source/tar/2005/bin/cernlib
> install -c -s  /home/mirtux/cernlib_2005_source/tar/2005/src/scripts/cernlib
> /home/mirtux/cernlib_2005_source/tar/2005/bin/cernlib
> strip: /home/mirtux/cernlib_2005_source/tar/2005/bin/cernlib: File
> format not recognized
> install: strip failed
> gmake: *** [/home/mirtux/cernlib_2005_source/tar/2005/bin/cernlib] Error 1
> gmake: Target `install.bin' not remade because of errors.
> rm -f /home/mirtux/cernlib_2005_source/tar/2005/bin/gxint
> install -c -s  /home/mirtux/cernlib_2005_source/tar/2005/src/scripts/gxint
> /home/mirtux/cernlib_2005_source/tar/2005/bin/gxint
> strip: /home/mirtux/cernlib_2005_source/tar/2005/bin/gxint: File
> format not recognized
> install: strip failed
> gmake: *** [/home/mirtux/cernlib_2005_source/tar/2005/bin/gxint] Error 1
> gmake: Target `install.bin' not remade because of errors.
> 
> What file format not recognized mean?

What do you get when you run `file
/home/mirtux/cernlib_2005_source/tar/2005/bin/gxint` or the same thing
on the other "binary"? I suspect they aren't valid LSB executables.

Thanks,
Donnie



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-science] cernlib 2005 source installation
  2006-02-04 20:28 ` Donnie Berkholz
@ 2006-02-04 22:58   ` Marco Calviani
  2006-02-04 23:28     ` Donnie Berkholz
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Calviani @ 2006-02-04 22:58 UTC (permalink / raw
  To: gentoo-science

Hi Donnie,

# sh cernlib
/cern/pro/lib/libpacklib.a -lnsl -lcrypt -ldl

# sh paw
paw: line 56: /cern/pro/bin/pawX11: No such file or directory
rm: cannot remove `paw.metafile': No such file or directory

#sh gxint
GXINT [options] file(s)
  ld an interactive Geant application and run it. Your compiled
  routines are given in file(s).
  options:

  -d driver
        specify the driver for the graphics output. Possible
        values are X11, Motif, GKS, or GDDM. Not all are available
        on all systems. X11 is the default.
  -v version
        version of the program library to use. Possible values
        include pro ( default ), new and old.
  -g geant_version
        which version of geant to use. Current default is 315.
  -h host
        useful with the -d X11 option only. Specify the hostname
        used for the display. Syntax identical to that of DISPLAY.
        If no hostname is specified, the value of DISPLAY is used.
  -o outputfile
        Do not immediately run GEANT, but produce an executable
        file named outputfile.
  -L path
        additional loader search path. Usefull if additional libraries
        are specified with -l option.  This option may be repeated to
        more than one pathname.
  -l libary
        specify additional libraries. This option may be repeated to
        add several libs.
  -m    do NOT use main program from cernlib area.


Clearly i'm not understanding something.....

Regards,
MC

> What do you get when you run `file
> /home/mirtux/cernlib_2005_source/tar/2005/bin/gxint` or the same thing
> on the other "binary"? I suspect they aren't valid LSB executables.
>
> Thanks,
> Donnie
>
>
>
>
>

-- 
gentoo-science@gentoo.org mailing list



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

* Re: [gentoo-science] cernlib 2005 source installation
  2006-02-04 22:58   ` Marco Calviani
@ 2006-02-04 23:28     ` Donnie Berkholz
  2006-02-05  9:13       ` Marco Calviani
  0 siblings, 1 reply; 8+ messages in thread
From: Donnie Berkholz @ 2006-02-04 23:28 UTC (permalink / raw
  To: gentoo-science

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

Marco Calviani wrote:
> Hi Donnie,
> 
> # sh cernlib
> /cern/pro/lib/libpacklib.a -lnsl -lcrypt -ldl

What is this 'sh' thing? I said 'file'.

> Clearly i'm not understanding something.....

>> What do you get when you run `file
>> /home/mirtux/cernlib_2005_source/tar/2005/bin/gxint` or the same thing
>> on the other "binary"? I suspect they aren't valid LSB executables.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-science] cernlib 2005 source installation
  2006-02-04 23:28     ` Donnie Berkholz
@ 2006-02-05  9:13       ` Marco Calviani
  2006-02-05  9:17         ` Donnie Berkholz
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Calviani @ 2006-02-05  9:13 UTC (permalink / raw
  To: gentoo-science

Hi Donnie,

> >> What do you get when you run `file
> >> /home/mirtux/cernlib_2005_source/tar/2005/bin/gxint` or the same thing
> >> on the other "binary"? I suspect they aren't valid LSB executables.

sorry... i thought i read to execute....
Here's the result:

# file paw
paw: Bourne shell script text executable

# file cernlib
cernlib: Bourne shell script text executable

# file gxint
gxint: Bourne shell script text executable

Regards,
MC

-- 
gentoo-science@gentoo.org mailing list



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

* Re: [gentoo-science] cernlib 2005 source installation
  2006-02-05  9:13       ` Marco Calviani
@ 2006-02-05  9:17         ` Donnie Berkholz
  2006-02-05 10:01           ` Marco Calviani
  0 siblings, 1 reply; 8+ messages in thread
From: Donnie Berkholz @ 2006-02-05  9:17 UTC (permalink / raw
  To: gentoo-science

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

Marco Calviani wrote:
> Hi Donnie,
> 
>>>> What do you get when you run `file
>>>> /home/mirtux/cernlib_2005_source/tar/2005/bin/gxint` or the same thing
>>>> on the other "binary"? I suspect they aren't valid LSB executables.
> 
> sorry... i thought i read to execute....
> Here's the result:
> 
> # file paw
> paw: Bourne shell script text executable
> 
> # file cernlib
> cernlib: Bourne shell script text executable
> 
> # file gxint
> gxint: Bourne shell script text executable

OK, that's about what I expected. The -s option to install means strip,
but you can't strip a shell script.

Donnie


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-science] cernlib 2005 source installation
  2006-02-05  9:17         ` Donnie Berkholz
@ 2006-02-05 10:01           ` Marco Calviani
  2006-02-06  6:27             ` Mathias Weigt
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Calviani @ 2006-02-05 10:01 UTC (permalink / raw
  To: gentoo-science

Hi Donnie,
   thanks for this hint.
In the scripts/Makefile i have eliminated the -s option in the
INSTPGMFLAGS variable; after that all the compile process went well.
Sorry for the question but, technically speaking, why it is not
possible to strip a bash script file?

Thanks for the help,
MC


> OK, that's about what I expected. The -s option to install means strip,
> but you can't strip a shell script.
>
> Donnie
>
>
>
>

-- 
gentoo-science@gentoo.org mailing list



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

* Re: [gentoo-science] cernlib 2005 source installation
  2006-02-05 10:01           ` Marco Calviani
@ 2006-02-06  6:27             ` Mathias Weigt
  0 siblings, 0 replies; 8+ messages in thread
From: Mathias Weigt @ 2006-02-06  6:27 UTC (permalink / raw
  To: gentoo-science

Marco Calviani wrote:

>Sorry for the question but, technically speaking, why it is not
>possible to strip a bash script file?
>  
>
man strip:
GNU  strip  discards all symbols from object files objfile.

A bash script (text) is not an object file (binary).

Mathias
-- 
gentoo-science@gentoo.org mailing list



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

end of thread, other threads:[~2006-02-06  6:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-04 13:39 [gentoo-science] cernlib 2005 source installation Marco Calviani
2006-02-04 20:28 ` Donnie Berkholz
2006-02-04 22:58   ` Marco Calviani
2006-02-04 23:28     ` Donnie Berkholz
2006-02-05  9:13       ` Marco Calviani
2006-02-05  9:17         ` Donnie Berkholz
2006-02-05 10:01           ` Marco Calviani
2006-02-06  6:27             ` Mathias Weigt

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