Changes in a conffile

2002-02-14 Thread Stijn de Bekker
Hi,



The htdig package uses a configuration file, /etc/htdig/htdig.conf,
which defines the location of a database file.
In a recent version I changed the location of the default path to
comply with the debian policy. 

An upgrade of the htdig can fail now (bug #133867), because this
location should be changed in the configuration file too. Can I
modify the location (if it's still listed as the old location) in the
configuration file from the postinst script? Policy (ch 11.7) is not
very clear about it IMHO.



Thanks,

Stijn.



Re: Compiling on hppa

2001-10-10 Thread Stijn de Bekker

On Tue, Oct 09 2001, Peter S Galbraith wrote:
 
 Stijn de Bekker wrote:
 
  Hi,
  
  
  Apparently, the building of my htdig package fails on the hppa
  architecture (as is also noted by bug #105045):
  
  http://buildd.debian.org/fetch.php?pkg=htdigver=3.1.5-3arch=hppastamp=100
  2598209file=logas=raw
  
  
  My question is pretty simple; how can I create a chroot environment on
  sarti (the hppa machine) to fix this? I cannot compile regularly,
  because db2-dev is not installed.
 
 The problem is not really with hppa, but with g++-3.0.
 Here's what I do to test build (another package) using g++-3.0 :
 
  CC=gcc-3.0 CXX=g++-3.0 ./configure --prefix=/usr
 
 Do that on your regular machine.  No chroot needed.

Unfortunately, that does not work either. I get the same error:


make[1]: Entering directory `/home/stijn/htdig-3.1.5/htlib'
g++-3.0 -c  -DDEFAULT_CONFIG_FILE=\/etc/htdig/htdig.conf\ -I../htlib
-I../htcommon -I../include -g -O2 String.cc
In file included from /usr/include/g++-v3/backward/stream.h:32,
 from String.cc:14:
/usr/include/g++-v3/backward/iostream.h:35: using directive `ostream'
   introduced ambiguous type `ostream'
htString.h: In function `std::ostream operator(std::ostream, String)':
htString.h:159: `char*String::Data' is private
String.cc:544: within this context
String.cc: At global scope:
String.cc:619: prototype for `void String::debug(std::ostream)' does not match
   any in class `String'
htString.h:127: candidate is: void String::debug(ostream)
make[1]: *** [String.o] Error 1
make[1]: Leaving directory `/home/stijn/htdig-3.1.5/htlib'
make: *** [all] Error 1



Stijn.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Compiling on hppa

2001-10-10 Thread Stijn de Bekker

On Wed, Oct 10 2001, Peter S Galbraith wrote:
 
 Stijn de Bekker wrote:
 
  On Tue, Oct 09 2001, Peter S Galbraith wrote:

[...]

  Unfortunately, that does not work either. I get the same error:
 
 Well, that's my point.  The problem is not with the hppa
 architecture, but with the fact that hppa uses gcc-3.0 by
 default, and your code is broken wrt gcc-3.0.  Now you can use
 your own machine to fix your code on gcc-3.0, and you don't need
 a chroot on an hppa machine.

Ah, I see. Sorry I misread it, your right.


Thank you,


Stijn.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Compiling on hppa

2001-10-10 Thread Stijn de Bekker
On Tue, Oct 09 2001, Peter S Galbraith wrote:
 
 Stijn de Bekker wrote:
 
  Hi,
  
  
  Apparently, the building of my htdig package fails on the hppa
  architecture (as is also noted by bug #105045):
  
  http://buildd.debian.org/fetch.php?pkg=htdigver=3.1.5-3arch=hppastamp=100
  2598209file=logas=raw
  
  
  My question is pretty simple; how can I create a chroot environment on
  sarti (the hppa machine) to fix this? I cannot compile regularly,
  because db2-dev is not installed.
 
 The problem is not really with hppa, but with g++-3.0.
 Here's what I do to test build (another package) using g++-3.0 :
 
  CC=gcc-3.0 CXX=g++-3.0 ./configure --prefix=/usr
 
 Do that on your regular machine.  No chroot needed.

Unfortunately, that does not work either. I get the same error:


make[1]: Entering directory `/home/stijn/htdig-3.1.5/htlib'
g++-3.0 -c  -DDEFAULT_CONFIG_FILE=\/etc/htdig/htdig.conf\ -I../htlib
-I../htcommon -I../include -g -O2 String.cc
In file included from /usr/include/g++-v3/backward/stream.h:32,
 from String.cc:14:
/usr/include/g++-v3/backward/iostream.h:35: using directive `ostream'
   introduced ambiguous type `ostream'
htString.h: In function `std::ostream operator(std::ostream, String)':
htString.h:159: `char*String::Data' is private
String.cc:544: within this context
String.cc: At global scope:
String.cc:619: prototype for `void String::debug(std::ostream)' does not match
   any in class `String'
htString.h:127: candidate is: void String::debug(ostream)
make[1]: *** [String.o] Error 1
make[1]: Leaving directory `/home/stijn/htdig-3.1.5/htlib'
make: *** [all] Error 1



Stijn.



Re: Compiling on hppa

2001-10-10 Thread Stijn de Bekker
On Wed, Oct 10 2001, Peter S Galbraith wrote:
 
 Stijn de Bekker wrote:
 
  On Tue, Oct 09 2001, Peter S Galbraith wrote:

[...]

  Unfortunately, that does not work either. I get the same error:
 
 Well, that's my point.  The problem is not with the hppa
 architecture, but with the fact that hppa uses gcc-3.0 by
 default, and your code is broken wrt gcc-3.0.  Now you can use
 your own machine to fix your code on gcc-3.0, and you don't need
 a chroot on an hppa machine.

Ah, I see. Sorry I misread it, your right.


Thank you,


Stijn.



Compiling on hppa

2001-10-09 Thread Stijn de Bekker

Hi,


Apparently, the building of my htdig package fails on the hppa
architecture (as is also noted by bug #105045):

http://buildd.debian.org/fetch.php?pkg=htdigver=3.1.5-3arch=hppastamp=1002598209file=logas=raw


My question is pretty simple; how can I create a chroot environment on
sarti (the hppa machine) to fix this? I cannot compile regularly,
because db2-dev is not installed.



Thanks,


Stijn.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Compiling on hppa

2001-10-09 Thread Stijn de Bekker
Hi,


Apparently, the building of my htdig package fails on the hppa
architecture (as is also noted by bug #105045):

http://buildd.debian.org/fetch.php?pkg=htdigver=3.1.5-3arch=hppastamp=1002598209file=logas=raw


My question is pretty simple; how can I create a chroot environment on
sarti (the hppa machine) to fix this? I cannot compile regularly,
because db2-dev is not installed.



Thanks,


Stijn.



Htdig's english wordlist

2001-10-08 Thread Stijn de Bekker

Hi,


I've just taken over the htdig package and now I'm going through the
outstanding bugs. My question relates to bugs #74523 and #104607.


The htdig package uses an english wordlist which is now located in
/etc/htdig/ - just a list of english words. Changing this file changes
the behaviour of htdig. According to the Debian policy, it should
therefore be a conffile (11.7.1):

   A file that affects the operation of a program, or provides site-
  or host-specific information, or otherwise customizes the behavior
  of a program.


The htdig wordlist is 930 kB and pretty big for in /etc. The package
wenglish contains a similar list of english words, only smaller (45392
vs 87536 words).


Should I modify htdig that it uses the system-wide list?



Stijn.
-- 
If you were going to shoot a mime, would you use a silencer?
 - Steven Wright


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Htdig's english wordlist

2001-10-08 Thread Stijn de Bekker
Hi,


I've just taken over the htdig package and now I'm going through the
outstanding bugs. My question relates to bugs #74523 and #104607.


The htdig package uses an english wordlist which is now located in
/etc/htdig/ - just a list of english words. Changing this file changes
the behaviour of htdig. According to the Debian policy, it should
therefore be a conffile (11.7.1):

   A file that affects the operation of a program, or provides site-
  or host-specific information, or otherwise customizes the behavior
  of a program.


The htdig wordlist is 930 kB and pretty big for in /etc. The package
wenglish contains a similar list of english words, only smaller (45392
vs 87536 words).


Should I modify htdig that it uses the system-wide list?



Stijn.
-- 
If you were going to shoot a mime, would you use a silencer?
 - Steven Wright