Subject: Questions from a new user
To: None <port-sparc@NetBSD.org>
From: Riba <riba@ml1.net>
List: port-sparc
Date: 09/02/2004 01:10:19
Hello all,

I have a Sun Sparc Station 5 which I want to turn into a NetBSD based 
web server. I had no previous experience with NetBSD, but I did read 
all the relevant docs to avoid asking really stupid questions.
Basically I need to install apache 1.3, PHP and mysql at minimum. I 
have studied the pkgsrc docs, and tried to build everything up from 
sources because it seems that there are no binary packages for the 
stuff I need. I have managed to build some basic dependencies (expat, 
libtool, etc...) but the build process chokes on the bigger stuff, for 
example apache. I have downloaded the most recent pkgsrc tar archive, 
and in the future I'm planning to set up a CVS for updating it. I'm 
really hoping to be able to solve this because so far I liked the setup 
and the installation of the OS was smooth, and I don't want this 
problem to force me to go the Linux route.
Keep in mind that I do have UNIX experience, but I have never installed 
by building from the source, so I'm a bit lost here.

At this moment apache fails with the following message:
[root@bimbotron apache]# make
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for apache_1.3.31.tar.gz.
=> Checksum OK for sitedrivenby.gif.
=> Checksum OK for mod_ssl-2.8.19-1.3.31.tar.gz.
===> Extracting for apache-1.3.31nb4

[snip]

gcc -c -I/usr/pkg/include -I../os/unix -I../include  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD -DEAPI -DEAPI_MM 
-O2 -I/usr/pkg/include -I/usr/include `../apaci` http_core.c
In file included from http_core.c:25:
../include/http_main.h:76: parse error before `reqwest_rec'
../include/http_main.h:77: parse error before `reqwest_rec'
http_core.c: In function `set_override':
http_core.c:1364: parse error before `>'
http_core.c: In function `end_nested_section':
http_core.c:1550: parse error before `>'
http_core.c: In function `unclosed_directive':
http_core.c:1571: parse error before `>'
*** Error code 1

A few quick pointers for the stuff I might want to change/check/verify 
in such cases would be most welcome.
mysql and PHP4 also failed, but let's take it one step at a time.

I hope I'll fix this and become a regular here. :)