benluteijn / cherokee

Automatically exported from code.google.com/p/cherokee
0 stars 1 forks source link

cherokee-0.10.1 compile errors on SunOS 5.10 #236

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure runs fine
2. make aborts with the following error 

What is the expected output? What do you see instead?
--- snip --- 
(cd .libs && rm -f libcherokee-client.la && ln -s ../libcherokee- 
client.la libcherokee-client.la) 
/bin/bash ../libtool --tag=CC   --mode=compile gcc -std=gnu99 - 
DHAVE_CONFIG_H -I. -I.. -I..    -pthreads     -I/usr/sfw/include/mysql 
-xstrconst -mt  -I/usr/sfw/include/mysql -xstrconst -mt -g -O2 -MT 
libcherokee_server_la-rule_directory.lo -MD -MP -MF .deps/ 
libcherokee_server_la-rule_directory.Tpo -c -o libcherokee_server_la- 
rule_directory.lo `test -f 'rule_directory.c' || echo 
'./'`rule_directory.c 
 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -pthreads -I/usr/sfw/ 
include/mysql -xstrconst -mt -I/usr/sfw/include/mysql -xstrconst -mt - 
g -O2 -MT libcherokee_server_la-rule_directory.lo -MD -MP -MF .deps/ 
libcherokee_server_la-rule_directory.Tpo -c rule_directory.c  -fPIC - 
DPIC -o .libs/libcherokee_server_la-rule_directory.o 
gcc: language strconst not recognized 
gcc: rule_directory.c: linker input file unused because linking not 
done 
 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -pthreads -I/usr/sfw/ 
include/mysql -xstrconst -mt -I/usr/sfw/include/mysql -xstrconst -mt - 
g -O2 -MT libcherokee_server_la-rule_directory.lo -MD -MP -MF .deps/ 
libcherokee_server_la-rule_directory.Tpo -c rule_directory.c -o 
libcherokee_server_la-rule_directory.o >/dev/null 2>&1 
mv -f .deps/libcherokee_server_la-rule_directory.Tpo .deps/ 
libcherokee_server_la-rule_directory.Plo 
mv: cannot access .deps/libcherokee_server_la-rule_directory.Tpo 
*** Error code 2 
make: Fatal error: Command failed for target `libcherokee_server_la- 
rule_directory.lo' 
--- snip --- 

What version of the product are you using? On what operating system?
# uname -a 
SunOS ftp 5.10 Generic_137112-08 i86pc i386 i86pc 
#gcc -v 
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs 
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/ 
configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as -- 
with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ -- 
enable-shared 
Thread model: posix 

Please provide any additional information below.

Original issue reported on code.google.com by hanska...@gmail.com on 20 Nov 2008 at 1:55

GoogleCodeExporter commented 9 years ago
This problem has already been fixed in trunk.
Could you please try to compile the latest repository snapshot?

  http://www.cherokee-project.com/download/trunk/

Original comment by alobbs on 21 Nov 2008 at 9:05

GoogleCodeExporter commented 9 years ago
really nice :-) thanks for the fast help

Original comment by hanska...@gmail.com on 22 Nov 2008 at 1:05

GoogleCodeExporter commented 9 years ago

Original comment by alobbs on 30 Nov 2008 at 6:44