Jens Nykær wrote:
Hi. I'm trying to install this on a FreeBSD 6.0, and get the following:

# ./configure --enable-cgibindir=/usr/local/www/apache22/cgi-bin --enable-tinydnsdir=/var/service/tinydns --enable-user=DNSADMIN --enable-password=GIVEMEAPASSWORD --enable-hostname=localhost --enable-libdir=/usr/local/lib/mysql/ --enable-incdir=/usr/local/include/mysql
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i386-unknown-freebsd6.0
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for strerror in -lcposix... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for crypt in -lcrypt... (cached) yes
checking for floor in -lm... (cached) yes
checking for compress in -lz... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged

           Current settings
---------------------------------------
tinydns directory = /var/service/tinydns
              uid = 20010
      cgi-bin dir = /usr/local/www/apache22/cgi-bin
     dnsadmin dir = /usr/local/www/apache22/cgi-bin/dnsadmin
#
# make
make  all-recursive
gcc -I. -I/usr/local/include/mysql     -g -O2 -Wall -c dnsadmin.c
gcc -I. -I/usr/local/include/mysql     -g -O2 -Wall -c cgi.c
gcc -I. -I/usr/local/include/mysql     -g -O2 -Wall -c template.c
gcc -I. -I/usr/local/include/mysql     -g -O2 -Wall -c global.c
gcc -I. -I/usr/local/include/mysql     -g -O2 -Wall -c acl.c
gcc -I. -I/usr/local/include/mysql     -g -O2 -Wall -c misc.c
gcc -I. -I/usr/local/include/mysql     -g -O2 -Wall -c domain.c
domain.c: In function `display_domain':
domain.c:547: error: missing terminating " character
domain.c:548: error: `Previous' undeclared (first use in this function)
domain.c:548: error: (Each undeclared identifier is reported only once
domain.c:548: error: for each function it appears in.)
domain.c:548: error: syntax error before '/' token
domain.c:548: error: `A' undeclared (first use in this function)
domain.c:548: error: stray '\' in program
domain.c:548: error: missing terminating " character
domain.c:550: error: missing terminating " character
domain.c:551: error: stray '\' in program
domain.c:551: error: missing terminating " character
domain.c:552: error: missing terminating " character
domain.c:553: error: stray '\' in program
domain.c:553: error: missing terminating " character
domain.c:556: error: missing terminating " character
domain.c:557: error: `Next' undeclared (first use in this function)
domain.c:557: error: syntax error before '/' token
domain.c:557: error: stray '\' in program
domain.c:557: error: missing terminating " character
domain.c: At top level:
domain.c:560: error: syntax error before string constant
domain.c:561: error: syntax error before string constant
domain.c:562: warning: type defaults to `int' in declaration of `fclose'
domain.c:562: warning: parameter names (without types) in function declaration
domain.c:562: warning: data definition has no type or storage class
domain.c:563: error: syntax error before '}' token
*** Error code 1

Stop in /usr/home/jny/workspace/dnsadmin-0.9.
*** Error code 1

Stop in /usr/home/jny/workspace/dnsadmin-0.9.
*** Error code 1

Stop in /usr/home/jny/workspace/dnsadmin-0.9.
#




Any ideas?

Try looking on line 547 in the domain.c file for the problem.

Cheers,
Ken Jones

Reply via email to