Re: FVWM: Can't install on solaris

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Thu, 21 Aug 2003 14:03:31 -0400

"Reto Buchli" <rbuchli_at_web.de> writes:
> 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 sys/socket.h presence... yes
> > > > > > > configure: WARNING: sys/socket.h: present but cannot be compiled
> > > > > > > configure: WARNING: sys/socket.h: check for missing prerequisite
> > > > > > > configure: WARNING: sys/socket.h: proceeding with the preprocesso
> > > > > > > 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 de
> > > > > > With autoconf 2.13 it builds without problems.
> > > > > Thank's for the answer, but if I try autoconf 2.13 I get the same er
> > > > > as with 2.57.
> > > >
> > > > Respond to fvwm_at_fvwm.org.
> > > Sorry about that.
> > > >
> > > > Time for more information.
> >
> > 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 (a
> nd 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"

"projid_t" should be typedefd as an "id_t" in sys/types.h
like this:

typedef id_t projid_t;

In the same file "id_t" should be defined like this:

#if defined(_LP64) || defined(_I32LPx)
typedef uint_t nlink_t; /* file link type */
typedef int pid_t; /* process id type */
#else
typedef ulong_t nlink_t; /* (historical version) */
typedef long pid_t; /* (historical version) */
#endif

You might have to create a test module and compile with -E to verify
that sys/types.h is getting included.

If you can be root, you can just go into
/usr/include/sys/stream.h and change projid_t to an int to verify
thats the problem. Change it back when done.

-- 
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.
Received on Thu Aug 21 2003 - 13:06:31 BST

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