unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Compiling problems
@ 2012-08-31  5:35 Olf
  2012-08-31  9:07 ` nalaginrut
  2012-08-31 13:18 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Olf @ 2012-08-31  5:35 UTC (permalink / raw)
  To: guile-user

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

Hello everyone,
I am just trying to install guile to my home folder of a SLES cluster. I
had to install several dependencies as well which seemed to be no problem.
Now the ./configure script returns no errors but make cannot finish
compiling the libraries.
I run configure with linking against all libraries installed to my home
folder:

*toInstall/guile-2.0.6> ./configure --prefix=$HOME/install
LDFLAGS=-L$HOME/install/lib CPPFLAGS=-I$HOME/install/include
LIBFFI_CFLAGS=-I$HOME/install/include LIBFFI_LIBS=-L$HOME/install/lib
BDW_GC_CFLAGS='-I$HOME/install/include' BDW_GC_LIBS='-L$HOME/install/lib'*


I get the following error message:


.
.
.
make  all-am
make[3]: Entering directory `/home/hudelistf/toInstall/guile-2.0.6/libguile'
  CC       libguile_2.0_la-alist.lo
  CC       libguile_2.0_la-arbiters.lo
  CC       libguile_2.0_la-array-handle.lo
  CC       libguile_2.0_la-array-map.lo
  CC       libguile_2.0_la-arrays.lo
  CC       libguile_2.0_la-async.lo
  CC       libguile_2.0_la-backtrace.lo
  CC       libguile_2.0_la-boolean.lo
  CC       libguile_2.0_la-bitvectors.lo
  CC       libguile_2.0_la-bytevectors.lo
  CC       libguile_2.0_la-chars.lo
  CC       libguile_2.0_la-control.lo
  CC       libguile_2.0_la-continuations.lo
  CC       libguile_2.0_la-debug.lo
  CC       libguile_2.0_la-deprecated.lo
  CC       libguile_2.0_la-deprecation.lo
  CC       libguile_2.0_la-dynwind.lo
  CC       libguile_2.0_la-eq.lo
  CC       libguile_2.0_la-error.lo
  CC       libguile_2.0_la-eval.lo
  CC       libguile_2.0_la-evalext.lo
  CC       libguile_2.0_la-expand.lo
  CC       libguile_2.0_la-extensions.lo
  CC       libguile_2.0_la-feature.lo
  CC       libguile_2.0_la-filesys.lo
  CC       libguile_2.0_la-finalizers.lo
finalizers.c:166: error: static declaration of 'GC_set_finalizer_notifier'
follows non-static declaration
/home/hudelistf/install/include/gc/gc.h:177: error: previous declaration of
'GC_set_finalizer_notifier' was here
make[3]: *** [libguile_2.0_la-finalizers.lo] Error 1
make[3]: Leaving directory `/home/hudelistf/toInstall/guile-2.0.6/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/hudelistf/toInstall/guile-2.0.6/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hudelistf/toInstall/guile-2.0.6'
make: *** [all] Error 2
toInstall/guile-2.0.6>



Can anyone hint me how I can resolve the conflict about this
GC_set_finalizer_notifier?

Thanks in advance,
Florian

[-- Attachment #2: Type: text/html, Size: 3185 bytes --]

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

* Re: Compiling problems
  2012-08-31  5:35 Compiling problems Olf
@ 2012-08-31  9:07 ` nalaginrut
  2012-08-31  9:34   ` Olf
  2012-08-31 13:18 ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: nalaginrut @ 2012-08-31  9:07 UTC (permalink / raw)
  To: Olf; +Cc: guile-user

hi Olf! 
Maybe you use a low version libgc?
But I can compiler Guile successfully under openSUSE, libgc1 version is
7.1.9.6-143.1.2

On Fri, 2012-08-31 at 13:35 +0800, Olf wrote: 
> Hello everyone,
> I am just trying to install guile to my home folder of a SLES cluster. I
> had to install several dependencies as well which seemed to be no problem.
> Now the ./configure script returns no errors but make cannot finish
> compiling the libraries.
> I run configure with linking against all libraries installed to my home
> folder:
> 
> *toInstall/guile-2.0.6> ./configure --prefix=$HOME/install
> LDFLAGS=-L$HOME/install/lib CPPFLAGS=-I$HOME/install/include
> LIBFFI_CFLAGS=-I$HOME/install/include LIBFFI_LIBS=-L$HOME/install/lib
> BDW_GC_CFLAGS='-I$HOME/install/include' BDW_GC_LIBS='-L$HOME/install/lib'*
> 
> 
> I get the following error message:
> 
> 
> .
> .
> .
> make  all-am
> make[3]: Entering directory `/home/hudelistf/toInstall/guile-2.0.6/libguile'
>   CC       libguile_2.0_la-alist.lo
>   CC       libguile_2.0_la-arbiters.lo
>   CC       libguile_2.0_la-array-handle.lo
>   CC       libguile_2.0_la-array-map.lo
>   CC       libguile_2.0_la-arrays.lo
>   CC       libguile_2.0_la-async.lo
>   CC       libguile_2.0_la-backtrace.lo
>   CC       libguile_2.0_la-boolean.lo
>   CC       libguile_2.0_la-bitvectors.lo
>   CC       libguile_2.0_la-bytevectors.lo
>   CC       libguile_2.0_la-chars.lo
>   CC       libguile_2.0_la-control.lo
>   CC       libguile_2.0_la-continuations.lo
>   CC       libguile_2.0_la-debug.lo
>   CC       libguile_2.0_la-deprecated.lo
>   CC       libguile_2.0_la-deprecation.lo
>   CC       libguile_2.0_la-dynwind.lo
>   CC       libguile_2.0_la-eq.lo
>   CC       libguile_2.0_la-error.lo
>   CC       libguile_2.0_la-eval.lo
>   CC       libguile_2.0_la-evalext.lo
>   CC       libguile_2.0_la-expand.lo
>   CC       libguile_2.0_la-extensions.lo
>   CC       libguile_2.0_la-feature.lo
>   CC       libguile_2.0_la-filesys.lo
>   CC       libguile_2.0_la-finalizers.lo
> finalizers.c:166: error: static declaration of 'GC_set_finalizer_notifier'
> follows non-static declaration
> /home/hudelistf/install/include/gc/gc.h:177: error: previous declaration of
> 'GC_set_finalizer_notifier' was here
> make[3]: *** [libguile_2.0_la-finalizers.lo] Error 1
> make[3]: Leaving directory `/home/hudelistf/toInstall/guile-2.0.6/libguile'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/hudelistf/toInstall/guile-2.0.6/libguile'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/hudelistf/toInstall/guile-2.0.6'
> make: *** [all] Error 2
> toInstall/guile-2.0.6>
> 
> 
> 
> Can anyone hint me how I can resolve the conflict about this
> GC_set_finalizer_notifier?
> 
> Thanks in advance,
> Florian





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

* Re: Compiling problems
  2012-08-31  9:07 ` nalaginrut
@ 2012-08-31  9:34   ` Olf
  0 siblings, 0 replies; 4+ messages in thread
From: Olf @ 2012-08-31  9:34 UTC (permalink / raw)
  To: nalaginrut; +Cc: guile-user

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

Hi,
yes there is the problem that in /usr/share there is an old version of
libctl but I installed the latest version in $HOME/install. I was hoping by
setting LDFLAGS and CPPFLAGS to this folder to link to that location.
Can I tell make to only use these libraries?

Florian

On Fri, Aug 31, 2012 at 5:07 PM, nalaginrut <nalaginrut@gmail.com> wrote:

> hi Olf!
> Maybe you use a low version libgc?
> But I can compiler Guile successfully under openSUSE, libgc1 version is
> 7.1.9.6-143.1.2
>
> On Fri, 2012-08-31 at 13:35 +0800, Olf wrote:
> > Hello everyone,
> > I am just trying to install guile to my home folder of a SLES cluster. I
> > had to install several dependencies as well which seemed to be no
> problem.
> > Now the ./configure script returns no errors but make cannot finish
> > compiling the libraries.
> > I run configure with linking against all libraries installed to my home
> > folder:
> >
> > *toInstall/guile-2.0.6> ./configure --prefix=$HOME/install
> > LDFLAGS=-L$HOME/install/lib CPPFLAGS=-I$HOME/install/include
> > LIBFFI_CFLAGS=-I$HOME/install/include LIBFFI_LIBS=-L$HOME/install/lib
> > BDW_GC_CFLAGS='-I$HOME/install/include'
> BDW_GC_LIBS='-L$HOME/install/lib'*
> >
> >
> > I get the following error message:
> >
> >
> > .
> > .
> > .
> > make  all-am
> > make[3]: Entering directory
> `/home/hudelistf/toInstall/guile-2.0.6/libguile'
> >   CC       libguile_2.0_la-alist.lo
> >   CC       libguile_2.0_la-arbiters.lo
> >   CC       libguile_2.0_la-array-handle.lo
> >   CC       libguile_2.0_la-array-map.lo
> >   CC       libguile_2.0_la-arrays.lo
> >   CC       libguile_2.0_la-async.lo
> >   CC       libguile_2.0_la-backtrace.lo
> >   CC       libguile_2.0_la-boolean.lo
> >   CC       libguile_2.0_la-bitvectors.lo
> >   CC       libguile_2.0_la-bytevectors.lo
> >   CC       libguile_2.0_la-chars.lo
> >   CC       libguile_2.0_la-control.lo
> >   CC       libguile_2.0_la-continuations.lo
> >   CC       libguile_2.0_la-debug.lo
> >   CC       libguile_2.0_la-deprecated.lo
> >   CC       libguile_2.0_la-deprecation.lo
> >   CC       libguile_2.0_la-dynwind.lo
> >   CC       libguile_2.0_la-eq.lo
> >   CC       libguile_2.0_la-error.lo
> >   CC       libguile_2.0_la-eval.lo
> >   CC       libguile_2.0_la-evalext.lo
> >   CC       libguile_2.0_la-expand.lo
> >   CC       libguile_2.0_la-extensions.lo
> >   CC       libguile_2.0_la-feature.lo
> >   CC       libguile_2.0_la-filesys.lo
> >   CC       libguile_2.0_la-finalizers.lo
> > finalizers.c:166: error: static declaration of
> 'GC_set_finalizer_notifier'
> > follows non-static declaration
> > /home/hudelistf/install/include/gc/gc.h:177: error: previous declaration
> of
> > 'GC_set_finalizer_notifier' was here
> > make[3]: *** [libguile_2.0_la-finalizers.lo] Error 1
> > make[3]: Leaving directory
> `/home/hudelistf/toInstall/guile-2.0.6/libguile'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory
> `/home/hudelistf/toInstall/guile-2.0.6/libguile'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/hudelistf/toInstall/guile-2.0.6'
> > make: *** [all] Error 2
> > toInstall/guile-2.0.6>
> >
> >
> >
> > Can anyone hint me how I can resolve the conflict about this
> > GC_set_finalizer_notifier?
> >
> > Thanks in advance,
> > Florian
>
>
>

[-- Attachment #2: Type: text/html, Size: 4124 bytes --]

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

* Re: Compiling problems
  2012-08-31  5:35 Compiling problems Olf
  2012-08-31  9:07 ` nalaginrut
@ 2012-08-31 13:18 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2012-08-31 13:18 UTC (permalink / raw)
  To: Olf; +Cc: guile-user

Hi,

Which version of libgc do you use?  7.0+ is recommended.

Olf <olfduh@gmail.com> skribis:

> *toInstall/guile-2.0.6> ./configure --prefix=$HOME/install
> LDFLAGS=-L$HOME/install/lib CPPFLAGS=-I$HOME/install/include
> LIBFFI_CFLAGS=-I$HOME/install/include LIBFFI_LIBS=-L$HOME/install/lib
> BDW_GC_CFLAGS='-I$HOME/install/include' BDW_GC_LIBS='-L$HOME/install/lib'*

Note that normally, setting the ‘PKG_CONFIG_PATH’ environment variable
to point to where libffi.pc and bdw-gc.pc live should be enough.

Thanks,
Ludo’.



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

end of thread, other threads:[~2012-08-31 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31  5:35 Compiling problems Olf
2012-08-31  9:07 ` nalaginrut
2012-08-31  9:34   ` Olf
2012-08-31 13:18 ` Ludovic Courtès

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