Ticket #671 (closed defect: wontfix)
Opened 3 years ago
Last modified 6 months ago
Unable to build celestia
| Reported by: | Giova84 | Owned by: | michaelvoliveira |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | sci-astronomy/celestia | Version: | |
| Severity: | normal | Keywords: | celestia |
| Cc: |
Description
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
Change History
comment:1 Changed 6 months ago by richienyhus
- Resolution set to wontfix
- Status changed from new to closed

It needs the unported Glut version of Celestia to even have a chance of working on Haiku.
WIP recipe on new haikuports: http://bb.haikuports.org/haikuports/commits/dd6a87b
New ticket should be opened at new HaikuPorts? website for the Glut version.