in reply to Re^5: DBD::SQLite install fails
in thread DBD::SQLite install fails

gmake Skip blib/lib/DBD/ (unchanged) Skip blib/lib/DBD/SQLite/Cookbook.pod (unchanged) /app/appname/sfw/bin/gcc -c -I. -I/app/appname/perl/lib/site_perl/5.1 +8.2/sun4-solaris-thread-multi-64/auto/DBI --std=c99 -D_REENTRANT -mcp +u=v9 -m64 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFIL +E64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE +_PUTENV -O -O2 -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fPIC "-I/a +pp/appname/perl/lib/5.18.2/sun4-solaris-thread-multi-64/CORE" -DSQLI +TE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE + -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_STAT3 -DNDEBUG=1 -DH +AVE_USLEEP=1 SQLite.c In file included from /app/appname/perl/lib/5.18.2/sun4-solaris-thread +-multi-64/CORE/perl.h:38:0, from SQLiteXS.h:11, from SQLite.xs:3: /app/appname/perl/lib/5.18.2/sun4-solaris-thread-multi-64/CORE/config. +h:2299:20: error: unknown type name 'sigjmp_buf' #define Sigjmp_buf sigjmp_buf ^ /app/appname/perl/lib/5.18.2/sun4-solaris-thread-multi-64/CORE/cop.h:3 +4:5: note: in expansion of macro 'Sigjmp_buf' Sigjmp_buf je_buf; /* only for use if !je_throw */ ^ gmake: *** [SQLite.o] Error 1

Replies are listed 'Best First'.
Re^7: DBD::SQLite install fails
by mje (Curate) on Jun 05, 2014 at 09:58 UTC

    Now add -DPOSIX to CCFLAGS. However I think we're chasing our tails a bit now.

      Or undo what I've told you and try --std=gnu99

        WOrks now, tahnks. Should someone raise a bug about this or something?