I am trying to install the perl module DBD::SQLite.  Since it didn't
work, I figured I would start with SQLite (amalgamation tar ball
3.7.2).

I am on AIX 6.1 (upgraded from 5.3) using gcc 4.2.0 which is compiled for 5.3

I have two theories based on some limited research:

1. I need to use the xlc native AIX compiler (too expensive and is not
going to happen)
2. I need to update gcc to a version compiled for 6.1 (I didn't know
the box had been upgraded until now)

If anyone has any pointers or can confirm my guesses above I would be
very appreciative.

The error message I am getting is below:

# make
        if /bin/sh ./libtool --tag=CC --mode=compile gcc
-DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\"
-DPACKAGE_VERSION=\"3.7.2\" -DPACKAGE_STRING=\"sqlite\ 3.7.2\"
-DPACKAGE_BUGREPORT=\"http://www.sqlite.org\"; -DPACKAGE=\"sqlite\"
-DVERSION=\"3.7.2\" -D_LARGE_FILES=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_DLFCN_H=1
-DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1
-DHAVE_GMTIME_R=1  -I. -I.     -DSQLITE_THREADSAFE=1
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -MT sqlite3.lo -MD
-MP -MF ".deps/sqlite3.Tpo" -c -o sqlite3.lo sqlite3.c;  then mv -f
".deps/sqlite3.Tpo" ".deps/sqlite3.Plo"; else rm -f
".deps/sqlite3.Tpo"; exit 1; fi
 gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\"
-DPACKAGE_VERSION=\"3.7.2\" "-DPACKAGE_STRING=\"sqlite 3.7.2\""
-DPACKAGE_BUGREPORT=\"http://www.sqlite.org\"; -DPACKAGE=\"sqlite\"
-DVERSION=\"3.7.2\" -D_LARGE_FILES=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_DLFCN_H=1
-DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1
-DHAVE_GMTIME_R=1 -I. -I. -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3
-DSQLITE_ENABLE_RTREE -g -O2 -MT sqlite3.lo -MD -MP -MF
.deps/sqlite3.Tpo -c sqlite3.c -o sqlite3.o
In file included from /usr/include/sys/cred.h:49,
                 from /usr/include/sys/thread.h:43,
                 from /usr/include/sys/ptrace.h:28,
                 from /usr/include/sys/proc.h:48,
                 from /usr/include/sys/pri.h:43,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:51,
                 from /usr/include/pthread.h:64,
                 from sqlite3.c:16426:
/usr/include/sys/secattr.h:50: error: expected
specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:70: error: expected
specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:43,
                 from /usr/include/sys/ptrace.h:28,
                 from /usr/include/sys/proc.h:48,
                 from /usr/include/sys/pri.h:43,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:51,
                 from /usr/include/pthread.h:64,
                 from sqlite3.c:16426:
/usr/include/sys/cred.h:335: error: expected specifier-qualifier-list
before 'rid_t'
In file included from /usr/include/pthread.h:66,
                 from sqlite3.c:16426:
/usr/include/unistd.h:924: error: expected ')' before '[' token
/usr/include/unistd.h:925: error: expected declaration specifiers or
'...' before 'rid_t'
make: The error code from the last command is 1.


Stop.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to