Re: Re: FVWM: Can't install on solaris

From: Reto Buchli <rbuchli_at_web.de>
Date: Thu, 21 Aug 2003 19:43:01 +0200

fvwm_at_fvwm.org schrieb am 21.08.03 19:27:44:
>
> "Reto Buchli" <rbuchli_at_web.de> writes:
> > Dan Espen <dane_at_mk.telcordia.com> schrieb am 21.08.03 18:21:37:
> > >
> > > "Reto Buchli" <rbuchli_at_web.de> writes:
> > > > Dan Espen <dane_at_mk.telcordia.com> schrieb am 21.08.03 16:11:16:
> > > > >
> > > > > "Reto Buchli" <rbuchli_at_web.de> writes:
> > > > > > Hi,
> > > > > > I'd like to use fvwm instead of CDE on a SunBlade with Solaris 5.9
> > > > > > This worked fine with 5.8, but now when I run
> > > > > > ./configure --prefix=/usr
> > > > > >
> > > > > > I get the following:
> > > > > > .
> > > > > > checking for sig_atomic_t... yes
> > > > > > checking for function prototypes... yes
> > > > > > checking whether setvbuf arguments are reversed... no
> > > > > > checking for select... yes
> > > > > > checking for unistd.h... (cached) yes
> > > > > > checking for sys/types.h... (cached) yes
> > > > > > checking for sys/time.h... (cached) yes
> > > > > > checking for sys/select.h... (cached) yes
> > > > > > checking sys/socket.h usability... no
> > > > > > checking sys/socket.h presence... yes
> > > > > > configure: WARNING: sys/socket.h: present but cannot be compiled
> > > > > > configure: WARNING: sys/socket.h: check for missing prerequisite head
> > > > > > configure: WARNING: sys/socket.h: proceeding with the preprocessor's
> > > > > > configure: WARNING: ## ------------------------------------ ##
> > > > > > configure: WARNING: ## Report this to bug-autoconf_at_gnu.org. ##
> > > > > > configure: WARNING: ## ------------------------------------ ##
> > > > > > checking for sys/socket.h... yes
> > > > > > checking argument types of select()... configure: error: can't determ
> > > > > With autoconf 2.13 it builds without problems.
> > > > Thank's for the answer, but if I try autoconf 2.13 I get the same error
> > > > as with 2.57.
> > >
> > > Respond to fvwm_at_fvwm.org.
> > Sorry about that.
> > >
> > > Time for more information.
> > >
> > > I'm configured to use gcc, I can try cc if that's what you are using.
> > I have both, but when I see it correct, I'ts using gcc.
> > It states it finds gnu c. I'm not sure how to say which one it uses really.
> >
> > >
> > > Did you remove config-cache?
> > Yes, I did.
> > >
> > > Are you using a snapshot or CVS?
> > Just the ordinary download function, no CVS.
>
> Hmm, works on my Solaris 9 system, but not yours, using the
> same autoconf and compiler...
>
> Either you are missing a Solaris patch or ...
>
> I'm pretty sure you will see details on the problem its having
> with sys/socket.h in config.log. Maybe you should look at that.

Yes, but I'm not able to find a solution. I found the following two errors (and more of the first one) in config.log
----
configure:13483: checking sys/socket.h usability
configure:13496: gcc -c -g -O2 -Wall -Wno-implicit-int  conftest.c >&5
In file included from /usr/include/netinet/in.h:41,
                 from /usr/include/sys/socket.h:203,
                 from configure:13605:
/usr/include/sys/stream.h:307: syntax error before "projid_t"
configure:13499: $? = 1
configure: failed program was:
| #line 13485 "configure"
| /* confdefs.h.  */
----
| #include <sys/socket.h>
configure:13515: result: no
configure:13519: checking sys/socket.h presence
configure:13530: gcc -E  conftest.c
configure:13536: $? = 0
configure:13555: result: yes
configure:13575: WARNING: sys/socket.h: present but cannot be compiled
configure:13577: WARNING: sys/socket.h: check for missing prerequisite headers?
configure:13579: WARNING: sys/socket.h: proceeding with the preprocessor's result
configure:13591: checking for sys/socket.h
configure:13598: result: yes
configure:13611: checking argument types of select()
configure:13655: gcc -c -g -O2 -Wall -Wno-implicit-int  conftest.c >&5
In file included from /usr/include/netinet/in.h:41,
                 from /usr/include/sys/socket.h:203,
                 from configure:13722:
/usr/include/sys/stream.h:307: syntax error before "projid_t"
configure:13658: $? = 1
configure: failed program was:
| #line 13622 "configure"
| /* confdefs.h.  */
Do you know a solution? My patches are from yesterday, so they should be ok.
Thanks. Reto
> 
> -- 
> Dan Espen                           E-mail: dane_at_mk.telcordia.com
> --
> Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
__________________________________________________________________________
Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter,
Adressverifizierung, digitale Unterschrift: http://freemail.web.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Aug 21 2003 - 12:45:19 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST