Re: Re: tru64 5.1b & php4.3.2rc1
| From: | ldg at ulysium dot net | Date: | Tue, 29 Apr 2003 00:34:52 +0000 |
| Subject: | Re: Re: tru64 5.1b & php4.3.2rc1 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10733@lists.php.net to get a copy of this message | ||
>> Try whether changing the line
>>
>> if test -z $CPDF_JPEG_DIR; then
>>
>> (in "configure") into
>>
>> if test -z "$CPDF_JPEG_DIR"; then
>>
>> helps. If it works, please report it here. If it does not help, you should
>> post your configure line, so we could try to reproduce this problem.
>
> Ok, that makes it shut up about that error, but there's an other popping up
> after it, once this one is fixed:
>
> checking for TIFFOpen in -ltiff... yes
> ./configure: test: argument expected
I found the same thing on this one, and now configure doesn't cause those
errors any more, but I get errors during make, and I tried using gmake just
in case, but it makes no difference with the regular make.
(this is tru64 5.1b)
I get lots of errors, and some of them I was able to get rid of by doing
something I shouldn't be doing:
I have duplicate header files like stdio.h and unistd.h (several others),
because they are in the standard system area /usr/include but also in
/usr/local/include because they were installed by some rpm packages I
needed.
The problem is that we have no control over which set of headers get used,
it's all done by configure and we can't force it to place the -I include in
any particular order. I even noticed in the cc lines that
-I/usr/local/include shows up more than once.
I ended up renaming the duplicate files in /usr/local to prevent them from
even being used, which makes many of those errors go away, but some of those
errors occur in headers located in /usr/include
here's what I ended up with now (after renaming several dupes):
cc -I/usr/local/include -Iext/odbc/
-I/usr/local/apache/src/php-4.3.2RC1/ext/odbc/ -DPHP_ATOM_INC
-I/usr/local/apache/src/php-4.3.2R
C1/include -I/usr/local/apache/src/php-4.3.2RC1/main
-I/usr/local/apache/src/php-4.3.2RC1 -I/usr/local/apache/include
-I/usr/local/a
pache/src/php-4.3.2RC1/Zend -I/usr/ssl/include -I/usr/local/include
-I/usr/local/mysql/include -I/usr/local/mm/include -I/usr/local/
apache/src/php-4.3.2RC1/ext/xml/expat -DNO_SLACK
-I/usr/local/apache/src/php-4.3.2RC1/TSRM -O2 -pthread -g -DZTS -c
/usr/local/apach
e/src/php-4.3.2RC1/ext/odbc/php_odbc.c -DPIC
cc: Info: File not optimized; use -g3 if both optimization and debug wanted.
(suppressoptlvl)
cc: Error: /usr/include/dlfcn.h, line 59: Missing ";". (nosemi)
extern int dladdr __((void *, Dl_info *));
-------------------------------^
cc: Error: /usr/include/dlfcn.h, line 63: Missing ";". (nosemi)
extern void *dlopen __((const char *, int ));
------------------------^
cc: Error: /usr/include/dlfcn.h, line 64: Missing ";". (nosemi)
extern void *dlsym __((void *, const char *));
-----------------------^
cc: Error: /usr/include/dlfcn.h, line 65: Missing ";". (nosemi)
extern char *dlerror __((void));
-------------------------^
cc: Error: /usr/include/dlfcn.h, line 66: Missing ";". (nosemi)
extern int dlclose __((void *));
-------------------------^
cc: Error: /usr/include/setjmp.h, line 166: Missing ";". (nosemi)
extern void longjmp __((jmp_buf, int));
------------------------^
cc: Error: /usr/include/setjmp.h, line 167: Missing ";". (nosemi)
extern int setjmp __((jmp_buf));
-----------------------^
cc: Error: /usr/include/setjmp.h, line 168: Missing ";". (nosemi)
extern int sigsetjmp __((sigjmp_buf, int));
--------------------------^
cc: Error: /usr/include/setjmp.h, line 169: Missing ";". (nosemi)
extern void siglongjmp __((sigjmp_buf, int));
---------------------------^
cc: Error: /usr/include/setjmp.h, line 170: Missing ";". (nosemi)
extern int _setjmp __((jmp_buf));
------------------------^
cc: Error: /usr/include/setjmp.h, line 171: Missing ";". (nosemi)
extern void _longjmp __((jmp_buf, int));
-------------------------^
cc: Error: /usr/include/time.h, line 220: Missing ";". (nosemi)
extern void tzset __((void));
------------------^
cc: Error: /usr/include/pthread.h, line 973: In this declaration,
"pthreadTeb_t" appears to be used as if it named a type, but there
is no declared type of that name visible. (typedefnotdef)
typedef pthreadTeb_t __pthreadTeb_t;
--------^
cc: Error: /usr/include/pthread.h, line 984: Ill-formed parameter type list.
(parmtyplist)
typedef void __pthreadExtDestructorFunc_t (void*, pthread_t,
pthread_key_t);
-----------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1038: In this declaration,
"pthread_t" appears to be used as if it named a type, but there i
s no declared type of that name visible. (typedefnotdef)
extern pthread_t pthread_self (void);
-------^
cc: Error: /usr/include/pthread.h, line 1190: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_sigmask (int, const sigset_t*, sigset_t*);
-----------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1192: Missing identifier.
(parnoident)
extern int pthread_kill (pthread_t, int);
------------------------------------^
cc: Error: /usr/include/pthread.h, line 1217: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_init (pthread_mutexattr_t*);
------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1220: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t*,
int*);
----------------------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1222: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t*, int);
----------------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1231: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t*, int*);
-------------------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1233: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t*, int);
-------------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1235: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t*, int*);
------------------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1237: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_setpshared (pthread_mutexattr_t*, int);
------------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1239: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_gettype (const pthread_mutexattr_t*, int*);
---------------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1241: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_settype (pthread_mutexattr_t*, int);
---------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1243: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutexattr_destroy (pthread_mutexattr_t*);
---------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1252: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutex_init (pthread_mutex_t*, const
pthread_mutexattr_t*);
----------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1264: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutex_destroy (pthread_mutex_t*);
-------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1276: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutex_lock (pthread_mutex_t*);
----------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1281: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting
)
extern int pthread_mutex_getprioceiling (const pthread_mutex_t*, int*);
--------------------------------------------------------------^
--
Didier Godefroy
mailto:dg@ulysium.net