1.5pre3 compile problems

Brett Taylor (brett@peloton.physics.montana.edu)
Thu, 25 Jun 1998 13:54:29 -0600 (MDT)


Grrr.....

I just downloaded pre3 and tried to compile.  Note I am running FreeBSD,
not that that's made much difference in the past - I've basically only
ever had to patch apps and not AS itself (at least to get it to work -
I've patched it to install it in the correct FreeBSD places following the
BSD port guidelines).  In any case, here we go:

Note 1 - in the configuration I find this (not a compile problem, but an
awfully strange config choice!):

	* Minimum BPM bitmaps path (/usr/X11R6/man/man1):  

Uh, why would I want bitmaps in the man path????   :-)

Note 2 - also in config:

	in the explanation of xv vs. xli, it might be better to put 
	a -rmode option in the xv command... I use (for tiling)
	
		xv -root -quit -rmode 0    (there are 8 or so different 
					    choices for rmode)

Note 3 - when I do make Makefiles I get the following:

	making Makefiles in src/afterstep...
        mv -f Makefile Makefile.bak
	In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:1343,
                 from Imakefile.c:8:
	Imakefile:34: unbalanced `#endif'
	Imakefile:42: unbalanced `#endif'
	imake: Exit code 33.
  	Stop.
	*** Error code 1

If I go in and manually remove the "Alpha/Sun/HP" comments it makes it
past that.  If I do this though I then get:

	peloton: {4} make Makefiles
	making Makefiles in lib...
        	mv -f Makefile Makefile.bak
	making Makefiles in src/afterstep...
        	mv -f Makefile Makefile.bak
	In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:1343,
                 from Imakefile.c:8:
	Imakefile:20: unbalanced `#endif'
	Imakefile:28: unbalanced `#endif'

If I then go in and delete the NEWLOOK stuff it will make the Makefiles.
I find this confusing because they #ifdef's don't LOOK to me to be
unbalanced.  Is this because I made the manual configuration stuff?

Nope - I just checked that - I still get the same errors as before.

Okay, so I remove all the initial #ifdef stuff listed above from 
src/afterstep/Imakefile.

Start make....  gets to src/afterstep again and:

making all in ./src/afterstep...
cc -O2     -I/usr/X11R6/include -I/include  -DCSRG_BASED   -DFUNCPROTO=15
-DNARROWPROTO   -c afterstep.c
cc -O2     -I/usr/X11R6/include -I/include  -DCSRG_BASED   -DFUNCPROTO=15
-DNARROWPROTO   -c configure.c
configure.c: In function `ReadPipeConfig':
configure.c:2105: `PATH_MAX' undeclared (first use this function)
configure.c:2105: (Each undeclared identifier is reported only once
configure.c:2105: for each function it appears in.)
*** Error code 1

Doh!  Cripes. 

I realize this is beta, but sheesh. :-)

Hints...?

Brett
*********************************************************
Brett Taylor 		brett@peloton.physics.montana.edu
http://peloton.physics.montana.edu/brett/


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://wormhole.eosys.com/mailing-lists/AfterStep-Info.html

   To unsubscribe: echo unsubscribe | mail afterstep-request@eosys.com