Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165853 - dev-lang/xsb-3.0.1 doesn't compile - sql.h misssing
Summary: dev-lang/xsb-3.0.1 doesn't compile - sql.h misssing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 02:36 UTC by Berk Birand
Modified: 2007-02-08 08:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Berk Birand 2007-02-08 02:36:07 UTC
I am trying to install the xsb engine, but it had an error in the compilation process. The makexsb script can't seem to find sql.h (although I have it installed)

...
        [i386-pc-linux-gnu-gcc] tst_utils.c
        [i386-pc-linux-gnu-gcc] varstring.c
        [i386-pc-linux-gnu-gcc] ubi_BinTree.c
        [i386-pc-linux-gnu-gcc] ubi_SplayTree.c
        [i386-pc-linux-gnu-gcc] odbc_xsb.c
odbc_xsb.c:37:17: sql.h: No such file or directory
odbc_xsb.c:38:20: sqlext.h: No such file or directory
odbc_xsb.c:72: error: `SQL_NTS' undeclared here (not in a function)
odbc_xsb.c:73: error: `SQL_NULL_DATA' undeclared here (not in a function)
odbc_xsb.c:75: error: syntax error before "henv"
odbc_xsb.c:75: warning: initialization makes integer from pointer without a cast
odbc_xsb.c:75: warning: data definition has no type or storage class
odbc_xsb.c:81: error: syntax error before "HDBC"
odbc_xsb.c:81: warning: no semicolon at end of struct or union
odbc_xsb.c:85: error: syntax error before '*' token
odbc_xsb.c:85: warning: data definition has no type or storage class
odbc_xsb.c:86: error: syntax error before "hstmt"
odbc_xsb.c:86: warning: data definition has no type or storage class
odbc_xsb.c:88: error: syntax error before '*' token
odbc_xsb.c:88: warning: data definition has no type or storage class

[ ... more errors ... ]

odbc_xsb.c:1683: error: `SQL_SUCCESS_WITH_INFO' undeclared (first use in this function)
make[1]: *** [odbc_xsb.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xsb-3.0.1/work/XSB/emu'
make: *** [emu] Error 1

!!! ERROR: dev-lang/xsb-3.0.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  xsb-3.0.1.ebuild, line 68:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Reproducible: Always

Steps to Reproduce:
1. emerge xsb
2.
3.



Expected Results:  
To compile and install successfully...
Comment 1 Keri Harris (RETIRED) gentoo-dev 2007-02-08 08:18:51 UTC
Fixed in cvs; thanks for reporting this.

Keri