Bug #15859 Line 1409 in configure-skript must end with ;;
Submitted: 19 Dec 2005 12:39 Modified: 30 Sep 2008 19:56
Reporter: Werner Frerichs Email Updates:
Status: Unsupported Impact on me:
None 
Category:MaxDB Severity:S3 (Non-critical)
Version:TOOLSRC OS:Any
Assigned to: CPU Architecture:Any

[19 Dec 2005 12:39] Werner Frerichs
Description:
In the package TOOLSRC for sdb the file configure does not work. 

How to repeat:
Run ./configure in TOOLSRC

Suggested fix:
I think the line 1409 must end with ;;

old:
... (skip 1406 lines)
echo "$as_me:$LINENO: checking checking for usable gcc compiler" >&5
echo $ECHO_N "checking checking for usable gcc compiler... $ECHO_C" >&6
case "${host}" in
*sparc*-sun-solaris*) eval CC=cc ; eval export CC ; eval CXX=CC ; eval export CXX
*-*-solaris*)   eval CC=cc ; eval export CC ; eval CXX=CC ; eval export CXX
                echo "$as_me:$LINENO: result: not usable" >&5
echo "${ECHO_T}not usable" >&6 ;;
...

New:
...
echo "$as_me:$LINENO: checking checking for usable gcc compiler" >&5
echo $ECHO_N "checking checking for usable gcc compiler... $ECHO_C" >&6
case "${host}" in
*sparc*-sun-solaris*) eval CC=cc ; eval export CC ; eval CXX=CC ; eval export CXX ;;
*-*-solaris*)   eval CC=cc ; eval export CC ; eval CXX=CC ; eval export CXX
                echo "$as_me:$LINENO: result: not usable" >&5
echo "${ECHO_T}not usable" >&6 ;;
...
[20 Dec 2005 12:14] Valeriy Kravchuk
Thank you for a problem report. I agree with your fix from the pure shell command syntax point of view. Have you tried to run the script with your fix? Does it really work after that?
[4 Jan 2006 9:36] Werner Frerichs
Yes, configure works after that diff, but make breaks with compiling error. I havenot found
the error so far, but I think is doesnot belong the the diff above.

Werner Frerichs
[4 Jan 2006 18:35] C.J. Adams-Collier
Hello Werner,

I have personally not gotten the source to build either.  I am in the process of bringing an autotools build system online, but it will take a while, and it's not high priority.  If you're interested in helping, please let me know.

This codebase is far out of date, but you can see the progress on the autotools build scripts here:
http://savannah.nongnu.org/cvs/?group=sapdb-ports

I'm going to review this bug now and make some comments.

Cheers,

C.J.
[4 Jan 2006 18:40] C.J. Adams-Collier
Hello again, Werner,

Please give me a bit of background about the source you have.  Did you get it from CVS?  Are you using a stable release tarball?  What platform are you building on?

http://dev.mysql.com/doc/maxdb/develop/cvs.html

Cheers,

C.J.