Re: Compiling on AIX OS
Domingo Alvarez Duarte <[email protected]> Wed, 26 Feb 2020 10:13:00 +0100
| Newsgroups | gmane.comp.db.sqlite.general |
|---|---|
| Message-ID | <[email protected]> |
Going forward after fixing the access mode from "rb" to "r" we get this
error (tclsh8.4):
====
tclsh /home/mingo/dev/sqlite-src-3310100/tool/mkshellc.tcl >shell.c
cp /home/mingo/dev/sqlite-src-3310100/ext/fts5/fts5parse.y .
rm -f fts5parse.h
./lemon -S fts5parse.y
tclsh /home/mingo/dev/sqlite-src-3310100/ext/fts5/tool/mkfts5c.tcl
bad index "19-1": must be integer or end?-integer?
while executing
"string range $date 0 [string last . $date]-1"
(procedure "fts5_source_id" line 7)
invoked from within
"fts5_source_id $::srcdir"
(procedure "fts5c_printfile" line 7)
invoked from within
"fts5c_printfile $f "
("foreach" body line 1)
invoked from within
"foreach f $G(src) { fts5c_printfile $f }"
(file
"/home/mingo/dev/sqlite-src-3310100/ext/fts5/tool/mkfts5c.tcl" line 112)
gmake: *** [Makefile:1188: fts5.c] Error 1
====
On 26/2/20 10:05, Domingo Alvarez Duarte wrote:
> Hello !
>
> Trying to compile https://sqlite.org/2020/sqlite-src-3310100.zip on
> AIX 7.1 operating system for exercise and to know the peculiarities of
> building software on this OS and I'm getting this error, somehow tclsh
> that is installed on this OS do not wrap/hide OS incompatibilities.
>
> ====
>
> tclsh /home/mingo/dev/sqlite-src-3310100/tool/mkshellc.tcl >shell.c
> illegal access mode "rb"
> while executing
> "open $topdir/src/shell.c.in rb"
> invoked from within
> "set in [open $topdir/src/shell.c.in rb]"
> (file "/home/mingo/dev/sqlite-src-3310100/tool/mkshellc.tcl" line 32)
> gmake: *** [Makefile:1079: shell.c] Error 1
>
> ====
>
> Cheers !
>
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users