Re: [htdig] configure under BSD not finding fstream.h


Subject: Re: [htdig] configure under BSD not finding fstream.h
From: Brett Rabideau (misha@toto.com)
Date: Wed Sep 13 2000 - 09:16:52 PDT


We're almost there - the difficulty now comes in with "make install", as it
wants to make directories in areas that I do not have permission for. I
have to make these directories under the appropriate virtual directory
structure, not where they are trying to put them. Is there an easy way to
change this, or do I have to manually change a bunch of lines in the make?

As a summary, here's what was done to get to this point using a
Vservers.com account, which uses BSD and a wacky structure to accomodate
virtual servers:

setenv CFLAGS "-O2"
setenv CXXFLAGS "-O2"
setenv CPPFLAGS "-I/usr/include/g++ -I/usr/local/include/g++"
setenv CXX "/usr/bin/g++"
./configure

edit the file, Makefile.config.in, and add the two includes to the INCS
variable.

Use the GCC make, not the BSD Make:

/usr/local/bin/make

... and once we get through the problems on make install, I'll write the
remainder of you mini-faq<G>

Kind Regards,

Brett

P.S. here's the log of make install, too, just in case it's interesting:

technocopia: {79} % /usr/local/bin/make install
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/db/dist'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/db/dist'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htlib'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htcommon'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htcommon'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htfuzzy'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htfuzzy'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htdig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htdig'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htsearch'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htsearch'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htmerge'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htmerge'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htnotify'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htnotify'
Installing ht://Dig

Creating directories (if needed)...
mkdir /opt
mkdir: /opt: Permission denied
mkdir /opt/www
mkdir: /opt/www: No such file or directory
mkdir /opt/www/htdig
mkdir: /opt/www/htdig: No such file or directory
mkdir /opt/www/htdig/bin
mkdir: /opt/www/htdig/bin: No such file or directory
mkdir /opt
mkdir: /opt: Permission denied
mkdir /opt/www
mkdir: /opt/www: No such file or directory
mkdir /opt/www/htdig
mkdir: /opt/www/htdig: No such file or directory
mkdir /opt/www/htdig/conf
mkdir: /opt/www/htdig/conf: No such file or directory
mkdir /opt
mkdir: /opt: Permission denied
mkdir /opt/www
mkdir: /opt/www: No such file or directory
mkdir /opt/www/htdig
mkdir: /opt/www/htdig: No such file or directory
mkdir /opt/www/htdig/common
mkdir: /opt/www/htdig/common: No such file or directory
mkdir /opt
mkdir: /opt: Permission denied
mkdir /opt/www
mkdir: /opt/www: No such file or directory
mkdir /opt/www/htdig
mkdir: /opt/www/htdig: No such file or directory
mkdir /opt/www/htdig/db
mkdir: /opt/www/htdig/db: No such file or directory
mkdir /opt
mkdir: /opt: Permission denied
mkdir /opt/www
mkdir: /opt/www: No such file or directory
mkdir /opt/www/htdocs
mkdir: /opt/www/htdocs: No such file or directory
mkdir /opt/www/htdocs/htdig
mkdir: /opt/www/htdocs/htdig: No such file or directory
mkdir /opt
mkdir: /opt: Permission denied
mkdir /opt/www
mkdir: /opt/www: No such file or directory
mkdir /opt/www/cgi-bin
mkdir: /opt/www/cgi-bin: No such file or directory
mkdir /opt
mkdir: /opt: Permission denied
mkdir /opt/www
mkdir: /opt/www: No such file or directory
mkdir /opt/www/htdocs
mkdir: /opt/www/htdocs: No such file or directory
mkdir /opt/www/htdocs/htdig
mkdir: /opt/www/htdocs/htdig: No such file or directory
make: [install] Error 1 (ignored)

Installing individual programs...
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htfuzzy'
transform=s,x,x,
/usr/bin/install -c htfuzzy /opt/www/htdig/bin/`echo htfuzzy | sed ''`
install: /opt/www/htdig/bin/htfuzzy: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htfuzzy'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htdig'
transform=s,x,x,
/usr/bin/install -c htdig /opt/www/htdig/bin/`echo htdig | sed ''`
install: /opt/www/htdig/bin/htdig: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htdig'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htsearch'
transform=s,x,x,
/usr/bin/install -c htsearch /opt/www/cgi-bin/`echo htsearch | sed ''`
install: /opt/www/cgi-bin/htsearch: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htsearch'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htmerge'
transform=s,x,x,
/usr/bin/install -c htmerge /opt/www/htdig/bin/`echo htmerge | sed ''`
install: /opt/www/htdig/bin/htmerge: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htmerge'
make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htnotify'
transform=s,x,x,
/usr/bin/install -c htnotify /opt/www/htdig/bin/`echo htnotify | sed ''`
install: /opt/www/htdig/bin/htnotify: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htnotify'
make: *** [install] Error 2

--On Wednesday, September 13, 2000 12:04 PM -0400 Brett Rabideau
<misha@toto.com> wrote:

> There's your second "A for the Day"....:
>
> technocopia: {55} % c++ -v
> Reading specs from /usr/local/lib/gcc-lib/i386-pc-bsdi4.0.1/2.8.1/specs
> gcc version 2.8.1
>
> I'll try setting CXX to /usr/bin/g++ instead of letting it default to
> /usr/bin/c++ ...
>
> You guys are truly amazing.
>
> Thanks,
>
> Brett
>
> --On Wednesday, September 13, 2000 5:58 PM +0200 Torsten Neuer
> <tneuer@inwise.de> wrote:
>
>> Brett Rabideau wrote:
>>>
>>> Geoff -
>>>
>>> Here's more information about the programs that I have found:
>>>
>>> technocopia: {16} % g++2 -v
>>> gcc2 -v
>>> gcc version 2.7.2.1
>>>
>>> technocopia: {17} % g++ -v
>>> gcc2 -v
>>> gcc version 2.7.2.1
>>>
>>> technocopia: {18} % gcc -v
>>> gcc version 2.7.2.1
>>>
>>> technocopia: {21} % gcc2 -v
>>> gcc version 2.7.2.1
>>> technocopia: {22} %
>>>
>>> As you can see EVERYTHING reports version 2.7.2.1 - something stinks
>>> here, me thinks.
>>
>> Yes. Your configure and make call a program "c++", not "g++"...
>>
>> Maybe there is not a symbolic link to g++ but yet another compiler?
>>
>> If that is the case, you could try setting CXX and CC also prior to
>> ./configure'ing
>
>
>
> Brett Rabideau
> "She sells C-Shells and other Assorted Perls by the Seashore..."
> Periwinkle Communications LLC
> Performance-based Web Site Hosting, Programming & Design
> http://www.toto.com
> misha@toto.com

Brett Rabideau
 "She sells C-Shells and other Assorted Perls by the Seashore..."
 Periwinkle Communications LLC
 Performance-based Web Site Hosting, Programming & Design
 http://www.toto.com
 misha@toto.com

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-unsubscribe@htdig.org
You will receive a message to confirm this.
List archives: <http://www.htdig.org/mail/menu.html>
FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Wed Sep 13 2000 - 09:19:30 PDT