You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by johngbud <jo...@bellsouth.net> on 2006/02/23 00:35:23 UTC
JSVC - make: Fatal error: Unknown option `-C' - Solaris
Tomcat User:
I'm having trouble compiling JSVC on Solaris 8. 'configure' runs ok. Any
ideas on how 'the 'make' will run?
See output below:
./configure
*** Current host ***
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking cached host system type... ok
*** C-Language compilation tools ***
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
*** Host support ***
checking C flags dependant on host system type... ok
*** Java compilation tools ***
checking for javac... /usr/java/bin/javac
checking wether the Java compiler (/usr/java/bin/javac) works... yes
checking for jar... /usr/java/bin/jar
gcc flags added
*** Writing output files ***
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedefs
config.status: creating native/Makefile
*** All done ***
Now you can issue "make"
is013464# make
make -C native all
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
[ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S
][ -t ]
[ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro
+=value"... ]
make: Fatal error: Unknown option `-C'
*** Error code 1
make: Fatal error: Command failed for target `native/all'
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: JSVC - make: Fatal error: Unknown option `-C' - Solaris
Posted by Bill Barker <wb...@wilshire.com>.
"Steve Ochani" <oc...@ncc.edu> wrote in message
news:43FCB2F3.9861.1FA8724@ochanis.ncc.edu...
> Date sent: Wed, 22 Feb 2006 18:35:23 -0500
> From: johngbud <jo...@bellsouth.net>
> Subject: JSVC - make: Fatal error: Unknown option `-C' - Solaris
> To: Tomcat Users List <us...@tomcat.apache.org>
> Send reply to: Tomcat Users List <us...@tomcat.apache.org>
>
>> Tomcat User:
>>
>> I'm having trouble compiling JSVC on Solaris 8. 'configure' runs ok.
>> Any ideas on how 'the 'make' will run? See output below:
>>
> -snip-
>
>> Now you can issue "make"
>>
>> is013464# make
>>
>> make -C native all
>>
>> Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][
>> -DD ]
>>
>> [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][
>> -S
>> ][ -t ]
>>
>> [ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro
>>
>> +=value"... ]
>>
>> make: Fatal error: Unknown option `-C'
>>
>> *** Error code 1
>>
>> make: Fatal error: Command failed for target `native/all'
>
> Install GNU make
I pretty much agree with that ;-).
This is fixed in the commons-daemon SVN, so if you want a semi-official fix,
grab Makefile.in from there and re-run 'configure'.
However, it's probably quicker to just edit Makefile and
s/make -C native all/(cd native; make all)/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: JSVC - make: Fatal error: Unknown option `-C' - Solaris
Posted by Steve Ochani <oc...@ncc.edu>.
Date sent: Wed, 22 Feb 2006 18:35:23 -0500
From: johngbud <jo...@bellsouth.net>
Subject: JSVC - make: Fatal error: Unknown option `-C' - Solaris
To: Tomcat Users List <us...@tomcat.apache.org>
Send reply to: Tomcat Users List <us...@tomcat.apache.org>
> Tomcat User:
>
> I'm having trouble compiling JSVC on Solaris 8. 'configure' runs ok.
> Any ideas on how 'the 'make' will run? See output below:
>
-snip-
> Now you can issue "make"
>
> is013464# make
>
> make -C native all
>
> Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][
> -DD ]
>
> [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][
> -S
> ][ -t ]
>
> [ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro
>
> +=value"... ]
>
> make: Fatal error: Unknown option `-C'
>
> *** Error code 1
>
> make: Fatal error: Command failed for target `native/all'
Install GNU make
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org