unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* re: Guile 1.7.91 has been released (MacIntel)
@ 2006-02-17 20:03 Bill Schottstaedt
  2006-02-18  8:32 ` Michael Tuexen
  0 siblings, 1 reply; 3+ messages in thread
From: Bill Schottstaedt @ 2006-02-17 20:03 UTC (permalink / raw)


Mike Gran tells me that the way around the MacIntel gmp problem is to
configure with host=none-unknown-darwin7.1.0. I must have missed that
in the gmp instructions.  Anyway, given gmp, the Guile 1.7.91 build chugs 
away until 

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -g -O2 -Wall -Wmissing-prototypes -Werror -MT posix.lo -
MD -MP -MF .deps/posix.Tpo -c posix.c  -fno-common -DPIC -o .libs/posix.o
In file included from /usr/include/netinet/in.h:78,
                 from /usr/include/netdb.h:86,
                 from posix.c:122:
/usr/include/sys/socket.h:99: error: two or more data types in declaration specifiers
make[2]: *** [posix.lo] Error 1

I'll poke at this after lunch -- it looks familiar somehow.



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


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

* re: Guile 1.7.91 has been released (MacIntel)
@ 2006-02-17 21:57 Bill Schottstaedt
  0 siblings, 0 replies; 3+ messages in thread
From: Bill Schottstaedt @ 2006-02-17 21:57 UTC (permalink / raw)


The good news is that Guile builds and works on MacIntel.  The bad news...
Guile needs either support for netBSD's readline, or a way to disable readline
in configure.  As it is, we get:

ld: Undefined symbols:
__rl_init_argument
__rl_kill_kbd_macro
_free_undo_list
_rl_clear_message
_rl_get_keymap
_rl_get_keymap_name

and that's after I commented out the rl_pending_input assignment.

The socklen problem may have a clean solution, but I haven't found it
yet.  __darwin_socklen_t is defined in i386/_types.h, but I ended up
using an explicit typedef (for socklen_t) followed by 

#define _SOCKLEN_T

to thwart the attempt to define it again.



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


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

* Re: Guile 1.7.91 has been released (MacIntel)
  2006-02-17 20:03 Guile 1.7.91 has been released (MacIntel) Bill Schottstaedt
@ 2006-02-18  8:32 ` Michael Tuexen
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Tuexen @ 2006-02-18  8:32 UTC (permalink / raw)
  Cc: guile-devel

This ist the problem, that the configure script does not figure out
that socklen_t does exist. Therefore it defines it when it is defined
in sys/socket.h the compiler throws an error.

Please use the code in configure.in which I posted earlier. Then it will
work.

Best regards
Michael

On Feb 17, 2006, at 9:03 PM, Bill Schottstaedt wrote:

> Mike Gran tells me that the way around the MacIntel gmp problem is to
> configure with host=none-unknown-darwin7.1.0. I must have missed that
> in the gmp instructions.  Anyway, given gmp, the Guile 1.7.91 build  
> chugs
> away until
>
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -g -O2 -Wall -Wmissing- 
> prototypes -Werror -MT posix.lo -
> MD -MP -MF .deps/posix.Tpo -c posix.c  -fno-common -DPIC -o .libs/ 
> posix.o
> In file included from /usr/include/netinet/in.h:78,
>                  from /usr/include/netdb.h:86,
>                  from posix.c:122:
> /usr/include/sys/socket.h:99: error: two or more data types in  
> declaration specifiers
> make[2]: *** [posix.lo] Error 1
>
> I'll poke at this after lunch -- it looks familiar somehow.
>
>
>
> _______________________________________________
> Guile-devel mailing list
> Guile-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/guile-devel
>



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


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

end of thread, other threads:[~2006-02-18  8:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-17 20:03 Guile 1.7.91 has been released (MacIntel) Bill Schottstaedt
2006-02-18  8:32 ` Michael Tuexen
  -- strict thread matches above, loose matches on Subject: below --
2006-02-17 21:57 Bill Schottstaedt

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