Ticket 112: Build problem (st_birthtime in struct stat)
Just tried building this release on two platforms
(MacOS 10.4.7 PPC, Linux Fedora Core 5 x86_64)
and both failed with the same problem:
% ./configure
...
checking for sys/stat.h... yes
...
% ./make
...
gcc -DOSSP -DXP_UNIX -DEXPORT_JS_API -DJS_HAS_FILE_OBJECT -DHAVE_CONFIG_H -Isrc -O2 -DNDEBUG -pipe -c src/jsexn.c -fPIC -DPIC -o src/.libs/jsexn.o
gcc -DOSSP -DXP_UNIX -DEXPORT_JS_API -DJS_HAS_FILE_OBJECT -DHAVE_CONFIG_H -Isrc -O2 -DNDEBUG -pipe -c src/jsexn.c -o src/jsexn.o >/dev/null 2>&1
gcc -DOSSP -DXP_UNIX -DEXPORT_JS_API -DJS_HAS_FILE_OBJECT -DHAVE_CONFIG_H -Isrc -O2 -DNDEBUG -pipe -c src/jsfile.c -fPIC -DPIC -o src/.libs/jsfile.o
src/jsfile.c: In function 'file_getProperty':
src/jsfile.c:2678: error: 'struct stat' has no member named 'st_birthtime'
make: *** [src/jsfile.lo] Error 1
zsh: 7399 exit 2 make
%
Haven't looked at it much further, but let me know if you want more info.
Thanks!!
Remarks:
Now fixed for the next release.
Properties:
Type: |
code |
|
Version: |
1.6.20060724 |
Status: |
fixed |
|
Created: |
2006-Jul-28 06:45 |
Severity: |
1 |
|
Last Change: |
2006-Jul-29 11:09 |
Priority: |
1 |
|
Subsystem: |
js |
Assigned To: |
rse |
|
Derived From: |
|
Creator: |
anonymous |
Related Check-ins:
2006-Jul-29 11:08 |
• |
Check-in [5535]: Increase portability by gracefully downgrading the stat(2) use of st_birthtime to st_birthtimensec or even st_mtime. (By rse) |