Re: 2 questions: getter/setter use and streams use
| From: | Jay Smith | Date: | Mon, 14 Apr 2003 21:10:24 +0000 |
| Subject: | Re: 2 questions: getter/setter use and streams use | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-918@lists.php.net to get a copy of this message | ||
I've got sfio working with php on Solaris 8 SPARC. Had some problems in the
beginning, but it does seem to be working. (Well, it compiles and links
fine, at least. They definitely aren't in the current directory when
building php.)
Try
LIBS="-L/path/to/sfio/lib/ -lstdio -lsfio" ./configure ...
Worked for me, anyway.
J
Uwe Schindler wrote:
> Sorry that I wait so long in testing sfio on solaris 9, but after tomorrow
> I will have enough time (diploma exam...). What I can say about it:
> The current version of sfio is not compatible with Solaris 8/9:
> * Compiling fails because FILE_TAG is not only declared in stdio.h only,
> also in some other .h files (I think this is for faster preprocessing???)
> * Linking with -lstdio -lsfio only works if libstdio.a and libsfio.a are
> in the current directory (-L. instead of -L/path/to/libs), if not it fails
> (I do not know why, could be that -L. is used automatically as the first
> search path for libs, if use exact dir it is searched for at the end)
>
> When this problems are solved, I would prefer to make a switch --with-sfio
> into the configure script. I think I will check this during this week. If
> the linking problem is still there a method to fix this would be by
> copying the .a files befor make or in the configure script). The missing
> replacement header file problem can be fixed by one additional replacement
> for floating_point.h (this is the header file which has a duplicate
> definition of FILE_TAG).
>
> Uwe
>