Heya,
I want to install TuxPaint on OpenSolaris.
I tried to install it by source, but it got stuck on the 'make' command. Can anyone please give the step-by-step process of doing that?
I am using the latest version of OpenSolaris.
Heya,
I want to install TuxPaint on OpenSolaris.
I tried to install it by source, but it got stuck on the 'make' command. Can anyone please give the step-by-step process of doing that?
I am using the latest version of OpenSolaris.
Short summary and likely causes (based on the thread): saw a parser error from make and later many compiler errors. 's Makefile tweak was aimed at Solaris library layout, but that alone won't help if the wrong make is used or the SDL/png/ttf development headers and libs are missing. Two things fix most OpenSolaris builds: use GNU make, and ensure all development packages (SDL, SDL_image, SDL_ttf, libpng, libjpeg, freetype, zlib, plus a C/C++ toolchain) are installed and visible to the build system.
Practical sequence to try (adapt paths to where you installed libraries):
CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -Wl,-rpath,/usr/local/lib" ./configure --prefix=/usr/local
gmake
gmake install Notes on the above:
gmake (GNU make). The stock Solaris make differs and produces parser errors on GNU-style Makefiles.Troubleshooting tips if compilation still fails:
sdl-config or pkg-config finds SDL and friends; run sdl-config --cflags and sdl-config --libs (or pkg-config --cflags --libs sdl) and compare to the flags configure picked up.If building becomes painful, consider installing a prebuilt package from a trusted OpenSolaris repository to avoid toolchain/platform differences.
Jump to Post— John A 1,896Here's the install documentation for TuxPaint:
Assuming you meet all the requirements described in that document, your next step is to post the error messages you encountered when trying to compile it.
Jump to Post— John A 1,896This issue is specific to Solaris and appears to have been solved by editing the makefile:
For TuxPaint I did have to modify the Makefile to include:
ARCH_LINKS=-L/usr/sfw/lib -R/usr/sfw/lib -lpng -lstdc++(source)
Here's the install documentation for TuxPaint:
Assuming you meet all the requirements described in that document, your next step is to post the error messages you encountered when trying to compile it.
I get the following error while running make -
make: Fatal error in reader: Makefile, line 13: Unexpected end of line seen How do I resolve this?
This isn't working for OpenSolaris, the library structure is apparently different. Please help me with this, as I m new to installing applications by source.
I tried running 'make' again, this time not logged in as root.
It threw up many errors in the 'tuxpaint.c' file, then finally stopped at:
make: *** [obj/tuxpaint.o] Error 1 How do I rectify this?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.