This is the culprit.
On my system (SuSE 7.1) I have /etc/localtime:
symbolic link to /usr/share/zoneinfo/CST6CDT
- but I can't find a file named timezone anywhere.
It is a FPC/FCL/LCL/Lazarus bug, but mostly fpc.
I've to talk to Peter first before fixing this.
It is a FPC/FCL/LCL/Lazarus bug, but mostly fpc.
I don't use Lazarus - ironically, I ran into this bug while
trying to recompile a program that interfaces FPC with NEdit.
It doesn't use Lazarus or GTK, but it uses popen(F, 'ppc386 -iV', 'R')
to check the compiler version. As a temporary
Did you try the example I posted?
Yes, and it runs fine.
Peter
hmmm...
I have tried everything you suggested ( and everything else I can think of )
but I still can't get it to work.
Could someone else please try this with the Linux 1.9.0 compiler,
and let me know the results ?
Jeff Pohlmeyer:
I do not try your sample(I remove it and install 1.0.10),
but the lazarus IDE on my pc always show the same error(can not create pipe)
with FPC 1.9.0 Compiler!
Did you try the example I posted?
Yes, and it runs fine.
Peter
hmmm...
I have tried everything you suggested
GongYu wrote:
Jeff Pohlmeyer:
I do not try your sample(I remove it and install 1.0.10),
but the lazarus IDE on my pc always show the same error(can not create pipe)
with FPC 1.9.0 Compiler!
This won't help us to improve FPC...
___
fpc-devel
pipi, pipo: text;
begin
AssignPipe(pipi, pipo);
perror('AssignPipe', LinuxError);
end.
I've tried it, with fpc 1.9.0 (binary rpm downloaded from sf).
$ fpc pipetest.pp
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 1.9.0 [2003/11/05] for i386
[ Charset ISO-8859-1 unsupported, converting... ]
Marco van de Voort wrote:
- Do an strace, and see if there is a function that fails.
Everything seems OK.
$ strace pipetest
execve(/home/plc/Pascal/test1.9/pipetest, [pipetest], [/* 63 vars */]) = 0
sigaction(SIGFPE, {0x805a9d4, [], 0},