﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
671	Unable to build celestia	Giova84	michaelvoliveira	"On Haiku (Alpha 4.1) i am unable to build Celestia using Haikuporter.

In terminal:
""haikuporter -i Celestia""

after a while i got:
' returned non-zero exit status 1

The reason is:
configure: error: zlib not found.

But zlib is present on my system.
So i have removed zlib references from configure.in
but after that i got another error: GL library was not found
but, again, this component is present on my system.
Then i have found that i have to set gcc to gcc2 using setgcc gcc2:

But then, again, i have to modify the file
basictypes.h, due to the fact that Celestia was searching for ""limits"" instead
of ""limits.h"".. But after this fix, after ""make"" i got a batch of errors:
/boot/common/develop/haikuports/sci-astronomy/celestia/work/celestia-1.6.0/src/celutil/formatnum.cpp:
In function `class ostream & operator <<(ostream &, const
FormattedNumber &)':
/boot/common/develop/haikuports/sci-astronomy/celestia/work/celestia-1.6.0/src/celutil/formatnum.cpp:64:
implicit declaration of function `int localeconv(...)'
/boot/common/develop/haikuports/sci-astronomy/celestia/work/celestia-1.6.0/src/celutil/formatnum.cpp:64:
base operand of `->' is not a pointer
/boot/common/develop/haikuports/sci-astronomy/celestia/work/celestia-1.6.0/src/celutil/formatnum.cpp:65:
base operand of `->' is not a pointer
/boot/common/develop/haikuports/sci-astronomy/celestia/work/celestia-1.6.0/src/celutil/formatnum.cpp:66:
base operand of `->' is not a pointer
/boot/common/develop/haikuports/sci-astronomy/celestia/work/celestia-1.6.0/src/celutil/formatnum.cpp:111:
implicit declaration of function `int isdigit(...)'
make[3]: *** [formatnum.o] Error 1
make[3]: Leaving directory
`/boot/common/develop/haikuports/sci-astronomy/celestia/work/celestia-1.6.0/src/celutil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/boot/common/develop/haikuports/sci-astronomy/celestia/work/celestia-1.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/boot/common/develop/haikuports/sci-astronomy/celestia/work/celestia-1.6.0'
make: *** [all] Error 2
"	defect	closed	normal		sci-astronomy/celestia		normal	wontfix	celestia	
