Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fehler bei "emerge apache mod_php"
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
andreask
Apprentice
Apprentice


Joined: 09 Sep 2003
Posts: 282
Location: Aachen, Germany

PostPosted: Thu Jan 22, 2004 3:06 pm    Post subject: Fehler bei "emerge apache mod_php" Reply with quote

Hallo!

Jetzt wollte ich es mir mal schön einfach machen apache udn mod_php zu installieren, und jetzt klappt das nicht :(

Also habe eingegeben:


Code:
emerge apache mod_php


und das ist beim 5. Paket abgebrochen.
Ich poste am besten mal die komplette Ausgabe dieses Paketes:

Code:
6:52:11 (60.38 KB/s) - `/usr/portage/distfiles/ttmkfdir-3.0.9.tar.bz2' saved [20160]

>>> md5 src_uri ;-) ttmkfdir-3.0.9.tar.bz2
>>> Unpacking source...
>>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/ttmkfdir-3.0.9/work
 * Applying ttmkfdir-3.0.9-gcc33.patch...                                                                     [ ok ]
>>> Source unpacked.
libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2  -march=pentium2 -O2 -pipe -fomit-frame-pointer -o ttmkfdir.o -c ttmkfdir.cpp
mkdir .libs
g++ -Wall -pedantic -I/usr/include/freetype2 -march=pentium2 -O2 -pipe -fomit-frame-pointer -c ttmkfdir.cpp    -fPIC -DPIC -o .libs/ttmkfdir.lo
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:683,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/cstdio:52,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/i686-pc-linux-gnu/bits/c++io.h:35,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/bits/fpos.h:44,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/iosfwd:46,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/ios:44,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/ostream:45,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/iostream:45,
                 from ttmkfdir.cpp:2:
/usr/include/bits/stdio.h: In function `int getchar()':
/usr/include/bits/stdio.h:42: declaration of `int getchar()' throws different
   exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:394: than previous
   declaration `int getchar() throw ()'
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)':
/usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*)' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:403: than previous
   declaration `int getc_unlocked(FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int getchar_unlocked()':
/usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked()' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:404: than previous
   declaration `int getchar_unlocked() throw ()'
/usr/include/bits/stdio.h: In function `int putchar(int)':
/usr/include/bits/stdio.h:67: declaration of `int putchar(int)' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:419: than previous
   declaration `int putchar(int) throw ()'
/usr/include/bits/stdio.h: In function `int fputc_unlocked(int, FILE*)':
/usr/include/bits/stdio.h:76: declaration of `int fputc_unlocked(int, FILE*)'
   throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:428: than previous
   declaration `int fputc_unlocked(int, FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int putc_unlocked(int, FILE*)':
/usr/include/bits/stdio.h:86: declaration of `int putc_unlocked(int, FILE*)'
   throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:433: than previous
   declaration `int putc_unlocked(int, FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int putchar_unlocked(int)':
/usr/include/bits/stdio.h:93: declaration of `int putchar_unlocked(int)' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:434: than previous
   declaration `int putchar_unlocked(int) throw ()'
/usr/include/bits/stdio.h: In function `__ssize_t getline(char**, size_t*,
   FILE*)':
/usr/include/bits/stdio.h:103: declaration of `__ssize_t getline(char**,
   size_t*, FILE*)' throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:480: than previous
   declaration `__ssize_t getline(char**, size_t*, FILE*) throw ()'
make: *** [ttmkfdir.o] Error 1

!!! ERROR: x11-misc/ttmkfdir-3.0.9 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)


dann ist Ende.

Woher kannd as kommen? Oder besser, was kann ich dagegen machen? ich benötige truetype nämlich in PHP.

Uch habe bei den Use-Flags -X stehen, da ich keinen X-Server habe udn brauche.


Viele Grüße
Andreas
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


Joined: 14 Dec 2002
Posts: 2080
Location: hamburg, germany

PostPosted: Thu Jan 22, 2004 3:39 pm    Post subject: Reply with quote

das problem hatte ich auch mal, du musst... *nachkuck*
da noch was in der USE var nachtragen, ich hab auf dem server drin:

-truetype -X -qt -gtk -gtk2 -imlib

aber -truetype hört sich nach dem an was du definitiv brauchen solltest, weil ttmkfdir das tool ist, welches das ttf font-dir herstellt.
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
andreask
Apprentice
Apprentice


Joined: 09 Sep 2003
Posts: 282
Location: Aachen, Germany

PostPosted: Thu Jan 22, 2004 3:57 pm    Post subject: Reply with quote

Hi!

Ich brauche aber Truetype für Grafik-Funktionen in PHP.

Es handelt sich um einen Bug: https://bugs.gentoo.org/show_bug.cgi?id=32565

Ich habe einfach die "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h" umbenannt, und schon hat es funktioniert.

Grüße
Andreas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum