Here's the output: povms.h:207:27: warning: multi-character character constant povms.h:208:26: warning: multi-character character constant povms.h:209:30: warning: multi-character character constant povms.h:210:22: warning: multi-character character constant povms.h:211:23: warning: multi-character character constant povms.h:212:24: warning: multi-character character constant povms.h:213:23: warning: multi-character character constant povms.h:214:23: warning: multi-character character constant povms.h:215:23: warning: multi-character character constant i686-pc-linux-gnu-g++ `if [ "Xi686-pc-linux-gnu-gcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -static -I/usr/X11R6/include -o povray atmosph.o bbox.o bcyl.o benchmark.o bezier.o blob.o boxes.o bsphere.o camera.o chi2.o colour.o colutils.o cones.o csg.o discs.o express.o file_pov.o fncode.o fnintern.o fnpovfpu.o fnsyntax.o fpmetric.o fractal.o function.o gif.o gifdecod.o hcmplx.o hfield.o histogra.o iff.o image.o interior.o isosurf.o jpeg_pov.o lathe.o lbuffer.o lightgrp.o lighting.o matrices.o media.o mesh.o normal.o objects.o octree.o optin.o optout.o parse.o parsestr.o parstxtr.o pattern.o pgm.o photons.o pigment.o planes.o png_pov.o point.o poly.o polygon.o polysolv.o pov_mem.o povms.o povmscpp.o povmsend.o povmsrec.o povray.o pov_util.o ppm.o prism.o quadrics.o quatern.o rad_data.o radiosit.o ray.o render.o renderio.o sor.o spheres.o sphsweep.o splines.o statspov.o super.o targa.o texture.o tiff_pov.o tokenize.o torus.o triangle.o truetype.o txttest.o userdisp.o userio.o vbuffer.o vlbuffer.o warps.o unix.o povxlib.o -L/usr/X11R6/lib -lvgagl -lvga -ltiff -ljpeg -lpng -lz -lm -lX11 -ldl /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libvga.a(vga.o)(.text+0x448f): In function `parse_string': : undefined reference to `__ctype_b' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libvga.a(mach32.o)(.text+0x9b74): In function `parsemode': : undefined reference to `__ctype_tolower' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libvga.a(regextr.o)(.text+0xbfb): In function `get_word': : undefined reference to `__ctype_b' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libvga.a(regextr.o)(.text+0xcc7): In function `get_word': : undefined reference to `__ctype_b' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libvga.a(regextr.o)(.text+0xd1e): In function `get_word': : undefined reference to `__ctype_b' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libvga.a(regextr.o)(.text+0xe59): In function `get_word': : undefined reference to `__ctype_b' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libvga.a(regextr.o)(.text+0xf35): In function `is_res': : undefined reference to `__ctype_b' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libvga.a(regextr.o)(.text+0xf51): more undefined references to `__ctype_b' follow /usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x1f15): In function `_X11TransSelectTransport': : undefined reference to `__ctype_tolower' /usr/X11R6/lib/libX11.a(XKBBind.o)(.text+0xfdf): In function `XkbTranslateKeySym': : undefined reference to `__ctype_toupper' /usr/X11R6/lib/libX11.a(XlcDL.o)(.text+0x44b): In function `resolve_object': : undefined reference to `__ctype_b' /usr/X11R6/lib/libX11.a(XlcDL.o)(.text+0x13fb): In function `parse_line': : undefined reference to `__ctype_b' /usr/X11R6/lib/libX11.a(lcFile.o)(.text+0x7c7): In function `parse_line': : undefined reference to `__ctype_b' /usr/X11R6/lib/libX11.a(lcFile.o)(.text+0x9e5): In function `resolve_name': : undefined reference to `__ctype_b' collect2: ld returned 1 exit status make: *** [povray] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 82, Exitcode 2 !!! (no error message)
It doesn't compile without X too. Here's the output: povxlib.c:30:22: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden povxlib.c:31:23: X11/Xutil.h: Datei oder Verzeichnis nicht gefunden povxlib.c:33: parse error before '*' token povxlib.c: In function `pclass': povxlib.c:35: `p' undeclared (first use in this function) povxlib.c:35: (Each undeclared identifier is reported only once povxlib.c:35: for each function it appears in.) make: *** [povxlib.o] Fehler 1
"Datei oder Verzeichnis nicht gefunden" means file or directory not found. ;)
Here is a patch my problem (use flag -X): ebuild: ---------------------- src_compile() { if [ "`use X`" ]; then econf || die else patch -p0 < ${FILESDIR}/pov-3.50a.x.patch econf --without-x || die fi ---------------- Patch: ------------------ --- src/povxlib.c.orig 2002-08-01 04:25:51.000000000 +0200 +++ src/povxlib.c 2002-11-05 21:38:06.000000000 +0100 @@ -26,6 +26,8 @@ * System and X11 includes */ +#include "conf.h" + #ifndef X_DISPLAY_MISSING #include <X11/Xlib.h> #include <X11/Xutil.h> ---------------------- Regards, Alexander
I had no problems today compilin... works fine.
this has been fixed for me for over a month, closing unless someone else has the issue still.