Subject: bug#10089: closed (Re: bug#10089: Fwd: building on OS X Lion)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 23 Nov 2011 12:37:08 +0000

Your bug report

#10089: Fwd: building on OS X Lion

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
10089: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10089
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#10089: Fwd: building on OS X Lion
From: Andy Wingo <[email-masked]>
To: Robert Dionne <[email-masked]>
Cc: [email-masked]
Date: Wed, 23 Nov 2011 11:09:50 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sun 20 Nov 2011 19:26, Robert Dionne <[email-masked]> writes:

>>  I've been building and running Guile on OS X Lion. Trying to build
>>  from repo/master I get the error below. I recently reworked some of
>>  the dependencies, libffi and bdw_gc, building those from the source
>>  repos also. Any help appreciated and also any pointers to best
>>  practices on using Guile with OS X are also appreciated.

You are compiling with PKG_CONFIG=true and BDW_GC_LIBS=-L/usr/local/lib,
but it should be BDW_GC_LIBS="-L/usr/local/lib -lgc".

Why does pkg-config not work for you?

Andy
-- 
http://wingolog.org/

Subject: Fwd: building on OS X Lion
From: Robert Dionne <[email-masked]>
To: [email-masked]
Date: Sun, 20 Nov 2011 13:26:36 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

wrong address :)

Begin forwarded message:

> From: Robert Dionne <[email-masked]>
> Subject: building on OS X Lion
> Date: November 20, 2011 1:14:52 PM EST
> To: [email-masked]
> 
> Hi,
> 
>  I've been building and running Guile on OS X Lion. Trying to build from repo/master I get the error below. I recently reworked some of the dependencies, libffi and bdw_gc, building those from the source repos also. Any help appreciated and also any pointers to best practices on using Guile with OS X are also appreciated.
> 
> Best
> 
> Bob Dionne
> 
> 
> 
> ~/emacs/guile:master$ make
> (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/bitdiddle/emacs/guile/build-aux/missing --run autoheader)
> rm -f stamp-h1
> touch config.h.in
> cd . && /bin/sh ./config.status config.h
> config.status: creating config.h
> make  all-recursive
> Making all in lib
>  GEN    alloca.h
>  GEN    c++defs.h
>  GEN    warn-on-use.h
>  GEN    arg-nonnull.h
>  GEN    arpa/inet.h
>  GEN    byteswap.h
>  GEN    fcntl.h
>  GEN    iconv.h
>  GEN    locale.h
>  GEN    math.h
>  GEN    netdb.h
>  GEN    signal.h
>  GEN    unused-parameter.h
>  GEN    stdint.h
>  GEN    stdio.h
>  GEN    stdlib.h
>  GEN    string.h
>  GEN    sys/file.h
>  GEN    sys/socket.h
>  GEN    sys/stat.h
>  GEN    sys/time.h
>  GEN    sys/types.h
>  GEN    sys/uio.h
>  GEN    time.h
>  GEN    unistd.h
>  GEN    wchar.h
> make  all-recursive
>  CC     c-ctype.lo
>  CC     c-strcasecmp.lo
>  CC     c-strncasecmp.lo
>  CC     dirname-lgpl.lo
>  CC     basename-lgpl.lo
>  CC     stripslash.lo
>  CC     fd-hook.lo
>  CC     full-read.lo
>  CC     full-write.lo
>  CC     malloca.lo
>  CC     nproc.lo
>  CC     pipe2.lo
>  CC     safe-read.lo
>  CC     safe-write.lo
>  CC     sockets.lo
>  CC     strftime.lo
>  CC     striconveh.lo
>  CC     unistr/u8-mbtouc.lo
>  CC     unistr/u8-mbtouc-aux.lo
>  CC     unistr/u8-mbtouc-unsafe.lo
>  CC     unistr/u8-mbtouc-unsafe-aux.lo
>  CC     asnprintf.lo
>  CC     canonicalize-lgpl.lo
>  CC     isnand.lo
>  CC     isnanf.lo
>  CC     isnanl.lo
>  CC     lstat.lo
>  CC     open.lo
>  CC     printf-args.lo
>  CC     printf-parse.lo
>  CC     putenv.lo
>  CC     readlink.lo
>  CC     rename.lo
>  CC     stat.lo
>  CC     vasnprintf.lo
>  CCLD   libgnu.la
> /usr/bin/ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols
> /usr/bin/ranlib: file: .libs/libgnu.a(u8-mbtouc.o) has no symbols
> /usr/bin/ranlib: file: .libs/libgnu.a(u8-mbtouc-unsafe.o) has no symbols
> ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols
> ranlib: file: .libs/libgnu.a(u8-mbtouc.o) has no symbols
> ranlib: file: .libs/libgnu.a(u8-mbtouc-unsafe.o) has no symbols
> Making all in meta
> guile="/usr/local/bin/`echo guile | /usr/bin/sed -e 's,x,x,'`" ;	\
> 	cat ./guile-config.in							\
> 	| /usr/bin/sed -e "s,@pkgconfigdir@,/usr/local/lib/pkgconfig,g ;			\
> 		     s,@""PKG_CONFIG@,true,g ;				\
> 		     s,@installed_guile@,$guile,g"				\
> 	> guile-config.out
> mv guile-config.out guile-config
> chmod +x guile-config
> Making all in libguile
>  GEN    libpath.h
>  GEN    gen-scmconfig.o
>  GEN    gen-scmconfig
>  GEN    scmconfig.h
>  GEN    vm-i-system.i
>  GEN    vm-i-scheme.i
>  GEN    vm-i-loader.i
>  SNARF  alist.x
>  SNARF  arbiters.x
>  SNARF  array-handle.x
>  SNARF  array-map.x
>  SNARF  arrays.x
>  SNARF  async.x
>  SNARF  backtrace.x
>  SNARF  boolean.x
>  SNARF  bitvectors.x
>  SNARF  bytevectors.x
>  SNARF  chars.x
>  SNARF  control.x
>  SNARF  continuations.x
>  SNARF  debug.x
>  SNARF  deprecated.x
>  SNARF  deprecation.x
>  SNARF  dynl.x
>  SNARF  dynwind.x
>  SNARF  eq.x
>  SNARF  error.x
>  SNARF  eval.x
>  SNARF  evalext.x
>  SNARF  expand.x
>  SNARF  extensions.x
>  SNARF  feature.x
>  SNARF  filesys.x
>  SNARF  fluids.x
>  SNARF  foreign.x
>  SNARF  fports.x
>  SNARF  gc-malloc.x
>  SNARF  gc.x
>  SNARF  gettext.x
>  SNARF  generalized-arrays.x
>  SNARF  generalized-vectors.x
>  SNARF  goops.x
>  SNARF  gsubr.x
>  SNARF  guardians.x
>  SNARF  hash.x
>  SNARF  hashtab.x
>  SNARF  hooks.x
>  SNARF  i18n.x
>  SNARF  init.x
>  SNARF  ioext.x
>  SNARF  keywords.x
>  SNARF  list.x
>  SNARF  load.x
>  SNARF  macros.x
>  SNARF  mallocs.x
>  SNARF  memoize.x
>  SNARF  modules.x
>  SNARF  numbers.x
>  SNARF  objprop.x
>  SNARF  options.x
>  SNARF  pairs.x
>  SNARF  ports.x
>  SNARF  print.x
>  SNARF  procprop.x
>  SNARF  procs.x
>  SNARF  promises.x
>  SNARF  r6rs-ports.x
>  SNARF  random.x
>  SNARF  rdelim.x
>  SNARF  read.x
>  SNARF  root.x
>  SNARF  rw.x
>  SNARF  scmsigs.x
>  SNARF  script.x
>  SNARF  simpos.x
>  SNARF  smob.x
>  SNARF  sort.x
>  SNARF  srcprop.x
>  SNARF  srfi-1.x
>  SNARF  srfi-4.x
>  SNARF  srfi-13.x
>  SNARF  srfi-14.x
>  SNARF  srfi-60.x
>  SNARF  stackchk.x
>  SNARF  stacks.x
>  SNARF  stime.x
>  SNARF  strings.x
>  SNARF  strorder.x
>  SNARF  strports.x
>  SNARF  struct.x
>  SNARF  symbols.x
>  SNARF  threads.x
>  SNARF  throw.x
>  SNARF  trees.x
>  SNARF  uniform.x
>  SNARF  values.x
>  SNARF  variable.x
>  SNARF  vectors.x
>  SNARF  version.x
>  SNARF  vports.x
>  SNARF  weak-set.x
>  SNARF  weak-table.x
>  SNARF  weak-vector.x
>  SNARF  frames.x
>  SNARF  instructions.x
>  SNARF  objcodes.x
>  SNARF  programs.x
>  SNARF  vm.x
>  SNARF  posix.x
>  SNARF  net_db.x
>  SNARF  socket.x
>  SNARF  regex-posix.x
> make  all-am
>  CC     libguile_2.2_la-alist.lo
>  CC     libguile_2.2_la-arbiters.lo
>  CC     libguile_2.2_la-array-handle.lo
>  CC     libguile_2.2_la-array-map.lo
>  CC     libguile_2.2_la-arrays.lo
>  CC     libguile_2.2_la-async.lo
>  CC     libguile_2.2_la-backtrace.lo
>  CC     libguile_2.2_la-boolean.lo
>  CC     libguile_2.2_la-bitvectors.lo
>  CC     libguile_2.2_la-bytevectors.lo
>  CC     libguile_2.2_la-chars.lo
>  CC     libguile_2.2_la-control.lo
>  CC     libguile_2.2_la-continuations.lo
>  CC     libguile_2.2_la-debug.lo
>  CC     libguile_2.2_la-deprecated.lo
>  CC     libguile_2.2_la-deprecation.lo
>  CC     libguile_2.2_la-dynwind.lo
>  CC     libguile_2.2_la-eq.lo
>  CC     libguile_2.2_la-error.lo
>  CC     libguile_2.2_la-eval.lo
>  CC     libguile_2.2_la-evalext.lo
>  CC     libguile_2.2_la-expand.lo
>  CC     libguile_2.2_la-extensions.lo
>  CC     libguile_2.2_la-feature.lo
>  CC     libguile_2.2_la-filesys.lo
>  CC     libguile_2.2_la-fluids.lo
>  CC     libguile_2.2_la-foreign.lo
>  CC     libguile_2.2_la-fports.lo
>  CC     libguile_2.2_la-frames.lo
>  CC     libguile_2.2_la-gc-malloc.lo
>  CC     libguile_2.2_la-gc.lo
>  CC     libguile_2.2_la-gdbint.lo
>  CC     libguile_2.2_la-gettext.lo
>  CC     libguile_2.2_la-generalized-arrays.lo
>  CC     libguile_2.2_la-generalized-vectors.lo
>  CC     libguile_2.2_la-goops.lo
>  CC     libguile_2.2_la-gsubr.lo
>  CC     libguile_2.2_la-guardians.lo
>  CC     libguile_2.2_la-hash.lo
>  CC     libguile_2.2_la-hashtab.lo
>  CC     libguile_2.2_la-hooks.lo
>  CC     libguile_2.2_la-i18n.lo
>  CC     libguile_2.2_la-init.lo
>  CC     libguile_2.2_la-inline.lo
>  CC     libguile_2.2_la-instructions.lo
>  CC     libguile_2.2_la-ioext.lo
>  CC     libguile_2.2_la-keywords.lo
>  CC     libguile_2.2_la-list.lo
>  CC     libguile_2.2_la-load.lo
>  CC     libguile_2.2_la-macros.lo
>  CC     libguile_2.2_la-mallocs.lo
>  CC     libguile_2.2_la-memoize.lo
>  CC     libguile_2.2_la-modules.lo
>  CC     libguile_2.2_la-null-threads.lo
>  CC     libguile_2.2_la-numbers.lo
>  CC     libguile_2.2_la-objcodes.lo
>  CC     libguile_2.2_la-objprop.lo
>  CC     libguile_2.2_la-options.lo
>  CC     libguile_2.2_la-pairs.lo
>  CC     libguile_2.2_la-poll.lo
>  CC     libguile_2.2_la-ports.lo
>  CC     libguile_2.2_la-print.lo
>  CC     libguile_2.2_la-procprop.lo
>  CC     libguile_2.2_la-procs.lo
>  CC     libguile_2.2_la-programs.lo
>  CC     libguile_2.2_la-promises.lo
>  CC     libguile_2.2_la-r6rs-ports.lo
>  CC     libguile_2.2_la-random.lo
>  CC     libguile_2.2_la-rdelim.lo
>  CC     libguile_2.2_la-read.lo
>  CC     libguile_2.2_la-root.lo
>  CC     libguile_2.2_la-rw.lo
>  CC     libguile_2.2_la-scmsigs.lo
> scmsigs.c:156: error: static declaration of 'GC_get_suspend_signal' follows non-static declaration
> /usr/local/include/gc/gc.h:1083: error: previous declaration of 'GC_get_suspend_signal' was here
> make[3]: *** [libguile_2.2_la-scmsigs.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ~/emacs/guile:master$ 
> 
> 
> 
> 
> 
>