[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] FW: Axiom on Solaris 10.2 x86
From: |
Gabriel Dos Reis |
Subject: |
Re: [Axiom-developer] FW: Axiom on Solaris 10.2 x86 |
Date: |
07 Apr 2007 18:35:13 -0500 |
"Bill Page" <address@hidden> writes:
[...]
| -bash-3.00$ gdiff -au build-improvements/src/sman/Makefile.in.orig
| build-improvements/src/sman/Makefile.in
| --- build-improvements/src/sman/Makefile.in.orig 2007-04-07
| 18:35:02.262911000 -0400
| +++ build-improvements/src/sman/Makefile.in 2007-04-07
| 18:35:38.674866000 -0400
| @@ -23,13 +23,13 @@
| spadclient_sources = spadclient.c
| spadclient_SOURCES = $(addsuffix .pamphlet, $(spadclient_sources))
| spadclient_objects = $(spadclient_sources:.c=.$(OBJEXT))
| -spadclient_LDADD = -L$(build_libdir) -lspad
| +spadclient_LDADD = -L$(build_libdir) -lspad -lsocket
| spadclient_DEPENDENCIES =
|
| sman_sources = sman.c
| sman_SOURCES = $(addsuffix .pamphlet, $(sman_sources))
| sman_objects = $(sman_sources:.c=.$(OBJEXT))
| -sman_LDADD = -L$(build_libdir) -lspad
| +sman_LDADD = -L$(build_libdir) -lspad -lsocket
| sman_DEPENDENCIES =
|
| --------
|
| Does this make sense to you?
You're almost there. Please could you try the patch below?
(I've not test a build yet, but it is along the line of what I think
should happen). After apply the patch, you need to ./build-setup.sh
Many thanks.
-- Gaby
*** configure.ac.pamphlet (revision 19377)
--- configure.ac.pamphlet (local)
*************** case $host in
*** 252,257 ****
--- 252,260 ----
AC_CHECK_HEADERS([sys/socket.h],
[axiom_host_has_socket=yes],
[])
+ AC_SEARCH_LIBS([accept], [socket],
+ [axiom_c_runtime_extra="-lsocket"],
+ [AC_MSG_ERROR([socket library not found])])
;;
esac
if test x$axiom_host_has_socket != xyes; then \
*** src/sman/Makefile.pamphlet (revision 19377)
--- src/sman/Makefile.pamphlet (local)
*************** spadclient_DEPENDENCIES =
*** 47,53 ****
sman_sources = sman.c
sman_SOURCES = $(addsuffix .pamphlet, $(sman_sources))
sman_objects = $(sman_sources:.c=.$(OBJEXT))
! sman_LDADD = -L$(build_libdir) -lspad
sman_DEPENDENCIES =
--- 47,53 ----
sman_sources = sman.c
sman_SOURCES = $(addsuffix .pamphlet, $(sman_sources))
sman_objects = $(sman_sources:.c=.$(OBJEXT))
! sman_LDADD = -L$(build_libdir) -lspad @axiom_c_runtime_extra@
sman_DEPENDENCIES =
- [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Bill Page, 2007/04/07
- RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Bill Page, 2007/04/07
- RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Bill Page, 2007/04/07
- Re: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Gabriel Dos Reis, 2007/04/08
- RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Bill Page, 2007/04/08
- Re: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Gabriel Dos Reis, 2007/04/08
- RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Bill Page, 2007/04/08
- [Axiom-developer] building wh-sandbox on Axiom on Solaris 10.2 x86, Bill Page, 2007/04/08
- Re: [Axiom-developer] building wh-sandbox on Axiom on Solaris 10.2 x86, Gabriel Dos Reis, 2007/04/08
- Re: [Axiom-developer] building wh-sandbox on Axiom on Solaris 10.2 x86, Gabriel Dos Reis, 2007/04/08
- Re: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Gabriel Dos Reis, 2007/04/08