unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Guile/Libtool
@ 2003-05-20 17:06 Charles Gagnon
  2003-05-20 17:41 ` Guile/Libtool Paul Jarc
  2003-05-20 18:03 ` Guile/Libtool Raphaël Poss
  0 siblings, 2 replies; 4+ messages in thread
From: Charles Gagnon @ 2003-05-20 17:06 UTC (permalink / raw)


I have a question but I'm not sure if it's libtool related only or
related more to guile.

I downloaded guilde-1.6.4 and I am trying to build a package with it
on my Sun Solaris 9 server. To make a Solaris package, I always
procede the same way:

  ./configure
  make
  make prefix=${staging_area} install
 
Followed by the packaging procedures. So the ${staging_area} will
have bin/, var/, etc/, man/ and lib/ directories containing only the
files related to that particular app.

When I try this with guile-1.6.4 and I get an error on libtool:

    [...]
    make[2]: Entering directory `/usr/local/src/guile-1.6.4/libguile'
    /bin/bash ../mkinstalldirs /usr/local/staging/guile-1.6.4/lib
     /bin/bash ../libtool --mode=install /usr/local/bin/install -c  libguile.la /usr/local/staging/guile-1.6.4/lib/libguile.la
    libtool: install: error: cannot install `libguile.la' to a directory not ending in /usr/local/lib
    make[2]: *** [install-libLTLIBRARIES] Error 1
    make[2]: Leaving directory `/usr/local/src/guile-1.6.4/libguile'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory `/usr/local/src/guile-1.6.4/libguile'
    make: *** [install-recursive] Error 1

How can I work around this? Does it require a change in libtool? Does it
require a change in guile?

Thanks.

-- 
Charles Gagnon                   | My views are my views and they
http://unixrealm.com             | do not represent those of anybody
charlesg at unixrealm.com        | but me.

   After finding no qualified candidates for the position of principal, the
   school board is extremely pleased to announce the appointment of David
   Steele to the post.
        -- Philip Streifer, Superintendent of Schools, Barrington, Rhode
           Island

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

* Re: Guile/Libtool
  2003-05-20 17:06 Guile/Libtool Charles Gagnon
@ 2003-05-20 17:41 ` Paul Jarc
       [not found]   ` <Pine.GSO.4.44.0305201239140.1470-100000@scooby.simplesystems.org>
  2003-05-20 18:03 ` Guile/Libtool Raphaël Poss
  1 sibling, 1 reply; 4+ messages in thread
From: Paul Jarc @ 2003-05-20 17:41 UTC (permalink / raw)
  Cc: bug-libtool

Charles Gagnon <charlesg@unixrealm.com> wrote:
>   ./configure
>   make
>   make prefix=${staging_area} install

Maybe DESTDIR is what you should be using?


paul

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

* Re: Guile/Libtool
  2003-05-20 17:06 Guile/Libtool Charles Gagnon
  2003-05-20 17:41 ` Guile/Libtool Paul Jarc
@ 2003-05-20 18:03 ` Raphaël Poss
  1 sibling, 0 replies; 4+ messages in thread
From: Raphaël Poss @ 2003-05-20 18:03 UTC (permalink / raw)
  Cc: bug-libtool


[-- Attachment #1.1: Type: text/plain, Size: 922 bytes --]

Charles Gagnon <charlesg@unixrealm.com> writes:

> I have a question but I'm not sure if it's libtool related only or
> related more to guile.
>
> I downloaded guilde-1.6.4 and I am trying to build a package with it
> on my Sun Solaris 9 server. To make a Solaris package, I always
> procede the same way:
>
>   ./configure
>   make
>   make prefix=${staging_area} install

[...]

> How can I work around this? Does it require a change in libtool? Does it
> require a change in guile?

I would suggest running :

    ./configure --prefix=${staging_area}
    make
    make install

instead.

Hope this helps,

-- 
. Raphaël Poss                                     . . _ - --------\
: EPITA CSI 2003                                       ICQ 1757157 |
| EpX -- ACU -- Activ'               GnuPG fp bda2eb602866390c7a7d :
\------ - _ . .                               a13ad7c86dd33b72e72b '

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-libtool

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

* Re: Guile/Libtool
       [not found]   ` <Pine.GSO.4.44.0305201239140.1470-100000@scooby.simplesystems.org>
@ 2003-05-20 18:35     ` Charles Gagnon
  0 siblings, 0 replies; 4+ messages in thread
From: Charles Gagnon @ 2003-05-20 18:35 UTC (permalink / raw)


I just tried with DESTDIR and it gets furter but it still gets
errors:

[...]
/bin/bash ../mkinstalldirs /usr/local/staging/guile-1.6.4/usr/local/lib
 /bin/bash ../libtool --mode=install /usr/local/bin/install -c  libguile.la /usr/local/staging/guile-1.6.4/usr/local/lib/libguile.la
libtool: install: warning: relinking `libguile.la'
(cd /usr/local/src/guile-1.6.4/libguile; /bin/bash ../libtool --mode=relink gcc -g -O2 -Wall -Wmissing-prototypes -o libguile.la -rpath /usr/local/lib -version-info 15:0:3 -export-dynamic -no-undefined alist.lo arbiters.lo async.lo backtrace.lo boolean.lo chars.lo continuations.lo debug.lo deprecation.lo dynl.lo dynwind.lo environments.lo eq.lo error.lo eval.lo evalext.lo extensions.lo feature.lo fluids.lo fports.lo gc.lo gc_os_dep.lo gdbint.lo gh_data.lo gh_eval.lo gh_funcs.lo gh_init.lo gh_io.lo gh_list.lo gh_predicates.lo goops.lo gsubr.lo guardians.lo hash.lo hashtab.lo hooks.lo init.lo ioext.lo iselect.lo keywords.lo lang.lo list.lo load.lo macros.lo mallocs.lo modules.lo numbers.lo objects.lo objprop.lo options.lo pairs.lo ports.lo print.lo procprop.lo procs.lo properties.lo random.lo rdelim.lo read.lo root.lo rw.lo scmsigs.lo script.lo simpos.lo smob.lo sort.lo srcprop.lo stackchk.lo stacks.lo stime.lo strings.lo strop.lo strorder.lo strports.lo struct.lo symbols.lo throw.lo values.lo variable.lo vectors.lo version.lo vports.lo weaks.lo symbols-deprecated.lo ramap.lo unif.lo filesys.lo posix.lo net_db.lo socket.lo regex-posix.lo inet_aton.lo ../libguile-ltdl/libguile-ltdl.la -lcrypt -lsocket -lnsl -lm -inst-prefix-dir /usr/local/staging/guile-1.6.4)
mv: cannot stat `libguile.so.12.3.0': No such file or directory
libtool: install: error: relink `libguile.la' with the above command before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/usr/local/src/guile-1.6.4/libguile'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/src/guile-1.6.4/libguile'
make: *** [install-recursive] Error 1

On Tue, May 20, 2003 at 12:39:37PM -0500, Bob Friesenhahn wrote:
> Try assigning DESTDIR rather than prefix when doing the install.
> 
> Bob
[...]
> ======================================
> Bob Friesenhahn
> bfriesen@simple.dallas.tx.us
> http://www.simplesystems.org/users/bfriesen

On Tue, May 20, 2003 at 01:41:50PM -0400, Paul Jarc wrote:
> Charles Gagnon <charlesg@unixrealm.com> wrote:
> >   ./configure
> >   make
> >   make prefix=${staging_area} install
> 
> Maybe DESTDIR is what you should be using?
> 
> 
> paul


-- 
Charles Gagnon                   | My views are my views and they
http://unixrealm.com             | do not represent those of anybody
charlesg at unixrealm.com        | but me.

   It is easier to apologize than to get permission.
        -- Grace Hopper


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


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

end of thread, other threads:[~2003-05-20 18:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-20 17:06 Guile/Libtool Charles Gagnon
2003-05-20 17:41 ` Guile/Libtool Paul Jarc
     [not found]   ` <Pine.GSO.4.44.0305201239140.1470-100000@scooby.simplesystems.org>
2003-05-20 18:35     ` Guile/Libtool Charles Gagnon
2003-05-20 18:03 ` Guile/Libtool Raphaël Poss

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