Go to content Go to navigation Go to search

misc errors

NB if you get configure: error: C++ preprocessor "/lib/cpp" fails sanity check you need to apt-get install g++. 

# SAMBA installed but set not to run by default.
find rc* -name '*samba*' -exec rm -f {} \;
update-rc.d samba stop 19 0 1 2 3 4 5 6 . 


installing httpd 2.0.49 on fw11 
    

Upgraded the box to the latest testing packages: "apt-get -t testing upgrade".

libc6 (2.3.2.ds1-12)
libssl0.9.7 (0.9.7d-2)
libssl-dev 0.9.7d-2 [2539kB]

I was getting this error when I tried to compile apache "C compiler cannot create executables".

Apache was right: I tried to compile a trival program directly and got:
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
Turns out that I needed to install the libc6-dev package.


compiled & installed apache httpd
$ CFLAGS="-I/usr/kerberos/include" ./configure --enable-ssl=shared --enable-mods-shared=all --enable-proxy=shared --prefix=/www/apache2
$ make; make install

openssl x509 -req -in ../ssl.key/server.csr -signkey ../ssl.key/server.key -out server.crt

Previous post:
Problems with CVS on vm0 and Tomcat symlinks
Next post:
X - VNC