unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* can't build guile 1.6.4 with macosx
@ 2004-06-01 22:23 Clem Wang
  2004-06-02  6:56 ` Andreas Vögele
  0 siblings, 1 reply; 2+ messages in thread
From: Clem Wang @ 2004-06-01 22:23 UTC (permalink / raw)


i'm running macosx 10.3.4

compiling cs_os_dep.c fails on line 380:

# ifndef mach_type_known
        --> unknown machine type
# endif

but it seems that these lines should have done the right thing:
# if defined(macosx)
#    define MACOSX
#    define POWERPC
#    define mach_type_known
# endif


putting in my own #define macosx before the #if is the obvious work
around, which allows the compilation to go finish.

Unfortunately, the link fails:

gcc -dynamiclib  -o .libs/libguile.12.3.0.dylib
.libs/libguile.12.3.0.dylib-master.o  -L../libguile-ltdl/.libs
-lguile-ltdl -lm -lc -install_name /usr/local/lib/libguile.12.dylib
-compatibility_version 16 -current_version 16.0
ld: Undefined symbols:
_environ


i did run
./configure prior to make.

i'm not sure what else you need to know or whether there is a problem with
my system.
g++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
Autoconf version 2.12
GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for powerpc-apple-darwin7.0


thanks,
clem



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


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

* Re: can't build guile 1.6.4 with macosx
  2004-06-01 22:23 can't build guile 1.6.4 with macosx Clem Wang
@ 2004-06-02  6:56 ` Andreas Vögele
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Vögele @ 2004-06-02  6:56 UTC (permalink / raw)
  Cc: bug-guile

Clem Wang writes:

> i'm running macosx 10.3.4
>
> compiling cs_os_dep.c fails on line 380:
>
> i'm not sure what else you need to know or whether there is a problem  
> with
> my system.

Either use fink to install Guile 1.6.4 or try to use guile16.patch from

http://cvs.sourceforge.net/viewcvs.py/fink/dists/10.3/unstable/main/ 
finkinfo/languages/

If you would like to build the CVS version of Guile you've got to fix  
gc_os_dep.c too. I sent a patch regarding this problem to bug-guile a  
couple of days ago (see the message with the subject "stack base on Mac  
OS X" in the archive) but the patch hasn't been integrated yet.  
Unfortunately, running autogen.sh on Mac OS X isn't straightforward.  
The autoconf, automake and libtool versions shipped by Apple are too  
old and one of the Guile build scripts requires GNU find. What I do is  
to run autogen.sh on a GNU/Linux machine. Then I copy the source code  
to my iBook where I run configure and make.



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


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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-01 22:23 can't build guile 1.6.4 with macosx Clem Wang
2004-06-02  6:56 ` Andreas Vögele

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