Re: [htdig] make error on solaris 2.6

Subject: Re: [htdig] make error on solaris 2.6
From: Gilles Detillieux (
Date: Mon Jan 15 2001 - 14:10:34 PST

According to Ronald Edward Petty:
> When I was doing make I got this error for and I did a work
> around doing this, but then I type make again and it gets past
> and does this for the next file... Is there something wrong
> with my shell or something... I dont feel like typing
> #!/usr/bin/tcsh
> setenv BIN_DIR /export/netapp/user/rpy/htdig/bin
> setenv DCOMMON_DIR "/export/netapp/user/rpy/htdig/common"
> setenv DCONFIG_DIR "/export/netapp/user/rpy/htdig/conf"
> setenv DATABASE_DIR "/export/netapp/user/rpy/htdig/db"
> setenv IMAGE_URL_PREFIX "/export/netapp/user/rpy/htdig/images"
> setenv PDF_PARSER "/usr/local/bin/acroread"
> setenv SORT_PROG "/bin/sort"
> setenv DEFAULT_CONFIG_FILE "/export/netapp/user/rpy/htdig/conf/htdig.conf"
> -I../htlib -I../ht
> common -I../db/dist -I../include -g -O2
> -----
> Any idea why this top thing worked but the other doesn't
> -----
> ares:/export/netapp/user/rpy/htdig-3.1.5/> make
> make[1]: Entering directory `/export/netapp/user/rpy/htdig-3.1.5/db/dist'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/export/netapp/user/rpy/htdig-3.1.5/db/dist'
> make[1]: Entering directory `/export/netapp/user/rpy/htdig-3.1.5/htlib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/export/netapp/user/rpy/htdig-3.1.5/htlib'
> make[1]: Entering directory `/export/netapp/user/rpy/htdig-3.1.5/htcommon'
> c++ -c -DBIN_DIR=\"/export/netapp/user/rpy/htdig/bin\"
> -DCOMMON_DIR=\"/export/netapp/user/rpy/htdig/common\"
> -DCONFIG_DIR=\"/export/netapp/user/rpy/htdig/conf\"
> -DDATABASE_DIR=\"/export/netapp/user/rpy/htdig/db\"
> -DIMAGE_URL_PREFIX=\"/export/netapp/user/rpy/htdig/images \"

I think the problem is right here. ------------------------+
There seems to be a space (or maybe a control character) in your definition
for the IMAGE_URL_PREFIX, which is messing things up.

> -DPDF_PARSER=\"/usr/local/bin/acroread\" -DSORT_PROG=\"/bin/sort\"
> -DDEFAULT_CONFIG_FILE=\"/export/netapp/user/rpy/htdig/conf/htdig.conf\"
> -I../htlib -I../htcommon -I../db/dist -I../include -g -O2
> c++: ": No such file or directory
> unterminated string or character constant
> possible real start of unterminated constant
> make[1]: *** [DocumentRef.o] Error 1
> make[1]: Leaving directory `/export/netapp/user/rpy/htdig-3.1.5/htcommon'
> make: *** [all] Error 1
> ares:/export/netapp/user/rpy/htdig-3.1.5/>

By the way, I think you may be misunderstanding what the IMAGE_URL_PREFIX
is supposed to be. It's supposed to be an URL path, relative to the
DocumentRoot of your web server, not relative to your system's root
directory. It's the IMAGE_DIR that is relative to the system's root
directory, but it must point to a directory that will be somewhere under
the DocumentRoot, so that the installed image files can be accessed by
web clients.

E.g., on my system, IMAGE_DIR is set to /home/httpd/html/htdig, and
my Apache configuration sets DocumentRoot to /home/httpd/html, so my
IMAGE_URL_PREFIX is simply "/htdig".

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to You will receive a message to confirm this. List archives: <> FAQ: <>

This archive was generated by hypermail 2b28 : Mon Jan 15 2001 - 14:24:47 PST