Mailinglist Archive: opensuse-de (4938 mails)

< Previous Next >
Re: PHP3 neu compilieren auf SuSE 6.4
  • From: lp@xxxxxxxxxx (Lars Pohlmann)
  • Date: Wed May 17 09:09:12 2000
  • Message-id: <009f01bfbfdf$9135d620$6d63a8c0@xxxxxxxxxx>



----- Original Message -----
From: Joerg Henner <jhe@xxxxxxxx>
To: Lars Pohlmann <lp@xxxxxxxxxx>
Cc: <suse-linux@xxxxxxxx>
Sent: Wednesday, May 17, 2000 10:37 AM
Subject: Re: PHP3 neu compilieren auf SuSE 6.4

:

Kennt jemand das Problem und weiss einen Workaround?
alles aus den sourcen kompiliert, .so (shared-objects) erzeugt, und unter
SuSE 6.4 zum laufen bekommen - und dazu nur die mitgelieferte DOKU
durchgelesen/durchgespielt.

Mit freundlichen Grüßen,

Joerg Henner.

Ok, ich werd mal ein bischen genauer:

Die ist unser PHP3-Configure:

./configure \
--with-apxs \
--with-mysql \
--with-config-file-path=/etc \
--without-gd \
--with-ttf \
--with-zlib \
--with-imap \
--enable-bcmath \
--enable-track-vars \
--enable-memory-limit \
--enable-sysvshm \
--enable-sysvsem \
--enable-debug=yes \
--enable-magic-quotes \
--enable-safe-mode=no \
--enable-url-fopen-wrapper=yes \
--enable-url-includes

Nach einem 'make' gibt der Rechner dann diese Fehlermeldungen aus:

gcc -g -O2 -O2 -m486 -O6 -DLINUX=2 -DMOD_SSL=206102 -DUSE_HSREGEX -DEAPI -DU
SE_EXPAT -I../lib/expat-lite -O2 -fpic -DSHARED_MO
DULE -I. -I. -I/usr/include/apache -I/usr/include/imap -
I/usr/include/mysql -g -Wall -c language-parser.
tab.c -o language-parser.tab.o
In file included from php.h:85,
from language-parser.y:52:
/usr/include/imap/unix.h:179: parse error before `off_t'
/usr/include/imap/unix.h:179: warning: no semicolon at end of struct or
union
/usr/include/imap/unix.h:180: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:181: parse error before `lastsnarf'
/usr/include/imap/unix.h:181: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:185: parse error before `}'
/usr/include/imap/unix.h:185: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:196: parse error before `MAILSTREAM'
/usr/include/imap/unix.h:196: warning: no semicolon at end of struct or
union
/usr/include/imap/unix.h:197: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:198: parse error before `protect'
/usr/include/imap/unix.h:198: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:199: parse error before `filepos'
/usr/include/imap/unix.h:199: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:201: parse error before `buflen'
/usr/include/imap/unix.h:201: conflicting types for `buflen'
/usr/include/imap/unix.h:183: previous declaration of `buflen'
/usr/include/imap/unix.h:201: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:203: parse error before `}'
/usr/include/imap/unix.h:203: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:207: parse error before `*'
/usr/include/imap/unix.h:207: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:210: parse error before `*'
/usr/include/imap/unix.h:211: parse error before `*'
/usr/include/imap/unix.h:212: parse error before `*'
/usr/include/imap/unix.h:213: parse error before `*'
/usr/include/imap/unix.h:214: parse error before `*'
/usr/include/imap/unix.h:215: parse error before `*'
/usr/include/imap/unix.h:216: parse error before `*'
/usr/include/imap/unix.h:216: parse error before `*'
/usr/include/imap/unix.h:216: warning: data definition has no type or
storage class
/usr/include/imap/unix.h:217: parse error before `*'
/usr/include/imap/unix.h:218: parse error before `*'
/usr/include/imap/unix.h:220: parse error before `*'
/usr/include/imap/unix.h:221: parse error before `*'
/usr/include/imap/unix.h:223: parse error before `*'
/usr/include/imap/unix.h:224: parse error before `*'
/usr/include/imap/unix.h:225: parse error before `*'
/usr/include/imap/unix.h:226: parse error before `*'
/usr/include/imap/unix.h:227: parse error before `*'
/usr/include/imap/unix.h:228: parse error before `*'
/usr/include/imap/unix.h:229: parse error before `*'
/usr/include/imap/unix.h:233: parse error before `*'
/usr/include/imap/unix.h:235: parse error before `DOTLOCK'
/usr/include/imap/unix.h:236: parse error before `MAILSTREAM'
/usr/include/imap/unix.h:237: parse error before `*'
/usr/include/imap/unix.h:238: parse error before `*'
/usr/include/imap/unix.h:239: parse error before `*'
/usr/include/imap/unix.h:240: parse error before `*'
/usr/include/imap/unix.h:242: parse error before `*'
/usr/include/imap/unix.h:243: parse error before `*'
/usr/include/imap/unix.h:247: parse error before `*'
/usr/include/imap/unix.h:249: parse error before `*'
/usr/include/imap/unix.h:250: parse error before `*'
/usr/include/imap/unix.h:254: parse error before `*'
/usr/include/imap/unix.h:256: parse error before `*'
/usr/include/imap/unix.h:258: parse error before `*'
/usr/include/imap/unix.h:259: parse error before `*'
make: *** wait: No child processes. Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.

Hier ein Teil der entsprechenden unix.h (Start bei Zeile 172):

/* UNIX IO stream local data */

typedef struct unix_local {
unsigned int dirty : 1; /* disk copy needs updating */
int fd; /* mailbox file descriptor */
int ld; /* lock file descriptor */
char *lname; /* lock file name */
off_t filesize; /* file size parsed */
time_t filetime; /* last file time */
time_t lastsnarf; /* last snarf time (for mbox driver) */
char *buf; /* temporary buffer */
unsigned long buflen; /* current size of temporary buffer */
char *line; /* returned line */
} UNIXLOCAL;

/* Convenient access to local data */

#define LOCAL ((UNIXLOCAL *) stream->local)

/* UNIX protected file structure */

typedef struct unix_file {
MAILSTREAM *stream; /* current stream */
off_t curpos; /* current file position */
off_t protect; /* protected position */
off_t filepos; /* current last written file position */
char *buf; /* overflow buffer */
size_t buflen; /* current overflow buffer length */
char *bufpos; /* current buffer position */
} UNIXFILE;

Also, was ich glaube, ist, daß auf unserem System wichtige Libs fehlen, ich
habe auch schon ein
paar nach gutdünken nachinstalliert (und die Anzahl der Fehlermeldungen ist
tatsächlich geringer geworden).

Ich weiss aber beim besten Willen nicht, was dem System jetzt noch fehlt, um
glücklich zu sein...

MfG, Lars.

_____________________________________________________

eCONNEX AG
Lars Pohlmann
Beseler Allee 67 - 24105 Kiel
fon 0431 59369 - 0 - fax 0431 59369 - 19
_____________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: suse-linux-unsubscribe@xxxxxxxx
For additional commands, e-mail: suse-linux-help@xxxxxxxx

< Previous Next >
References