Re: Compiling the scriptbasic package



Mark Hobley <markhobley@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

configuring module bdb
ld: cannot find -lbdb
make: *** [/home/mark/scriba/bin/mod/dll/bdb.so] Error 1

I am told that I can ignore this error, however the scriba binary file is not
produced:

# ./setup

This is unix cwd=/home/mark/scriba/

creating configure.jim

creating subdirectories for compilation output files

compiling Makefile using the Jamal preprocessor

running syntaxer.pl to generate the syntax defintion C language tables from
syntax.def

running generrh.pl to generate the error messages from errors.def

running lmt_make.pl for all lmt*.def files

scanning all subdirectories to find all C source files

there are 1575 files in the source tree

there are 104 C source files in the source tree

configuring module bdb

ld: cannot find -lbdb

make: *** [/home/mark/scriba/bin/mod/dll/bdb.so] Error 1

This is unix cwd=/home/mark/scriba/

executing headerer for the C files

extracting header from interface.c

creating the module object directory

Processing jamal files creating makefile

ERROR: SO was not created for some reason.

configuring module cgi

This is unix cwd=/home/mark/scriba/

executing headerer for the C files

extracting header from cgi.c

extracting header from interface.c

creating the module object directory

Processing jamal files creating makefile

Module was compiled fine

configuring module cio

This is unix cwd=/home/mark/scriba/

The module cio is not for unix.

executing headerer for the C files

extracting header from interface.c

creating the module object directory

Processing jamal files creating makefile

configuring module curl

interface.c:26:23: error: curl/curl.h: No such file or directory

interface.c:132: error: expected specifier-qualifier-list before 'CURL'

interface.c: In function 'bootmodu':

interface.c:191: error: 'CURL_GLOBAL_ALL' undeclared (first use in this
function)


<snip>

make: *** [/home/mark/scriba/bin/mod/obj/curl/s_interface.o] Error 1

This is unix cwd=/home/mark/scriba/

executing headerer for the C files

extracting header from interface.c

creating the module object directory

Processing jamal files creating makefile

ERROR: The module did not compile

configuring module curses

interface.c:27:20: error: curses.h: No such file or directory

In file included from ../../basext.h:11,

from interface.c:113:

.../../lexer.h:171: error: expected declaration specifiers or '...' before
'FILE'

In file included from ../../basext.h:12,

from interface.c:113:

.../../expression.h:290: error: expected declaration

<snip>

make: *** [/home/mark/scriba/bin/mod/obj/curses/s_interface.o] Error 1


<snip>

ERROR: The module did not compile

configuring module dbg

<snip>

Module was compiled fine

configuring module dyc

This is unix cwd=/home/mark/scriba/

The module dyc is not for unix.

<snip>

configuring module gd

ld: cannot find -lpng

make: *** [/home/mark/scriba/bin/mod/dll/gd.so] Error 1

This is unix cwd=/home/mark/scriba/

executing headerer for the C files

extracting header from interface.c

creating the module object directory

Processing jamal files creating makefile

ERROR: SO was not created for some reason.

configuring module hash

<snip>
Module was compiled fine

configuring module mt

interface.c: In function 'setsvariable':

interface.c:672: error: invalid lvalue in assignment

<snip>

make: *** [/home/mark/scriba/bin/mod/obj/mt/s_interface.o] Error 1


<snip>
ERROR: The module did not compile

configuring module mysql

interface.c:13:25: error: mysql/mysql.h: No such file or directory

<snip>


make: *** [/home/mark/scriba/bin/mod/obj/mysql/s_interface.o] Error 1

This is unix cwd=/home/mark/scriba/

executing headerer for the C files

extracting header from interface.c

creating the module object directory

Processing jamal files creating makefile

ERROR: The module did not compile

configuring module nt

This is unix cwd=/home/mark/scriba/

The module nt is not for unix.

<snip>
configuring module odbc

interface.c:10:17: error: sql.h: No such file or directory

<snip>

make: *** [/home/mark/scriba/bin/mod/obj/odbc/s_interface.o] Error 1

<snip>

ERROR: The module did not compile

configuring module psql

interface.c:27:33: error: postgresql/libpq-fe.h: No such file or directory

In file included from ../../basext.h:11,

from interface.c:28:

.../../lexer.h:171: error: expected declaration specifiers or '...' before
'FILE'

<snip>

make: *** [/home/mark/scriba/bin/mod/obj/psql/s_interface.o] Error 1

<snip>

ERROR: The module did not compile

configuring module re

This is unix cwd=/home/mark/scriba/

executing headerer for the C files

<snip>
creating the module object directory

Processing jamal files creating makefile

Module was compiled fine

configuring module t

<snip>
Module was compiled fine

configuring module trial

<snip>
Module was compiled fine

configuring module ux

<snip>
Module was compiled fine

configuring module xml

interface.c:19:27: error: libxml/parser.h: No such file or directory

interface.c: In function 'sbxmlParseFile':

interface.c:118: error: 'xmlDocPtr' undeclared (first use in this function)

<snip>

make: *** [/home/mark/scriba/bin/mod/obj/xml/s_interface.o] Error 1

<snip>
ERROR: The module did not compile

configuring module zlib

ld: cannot find -lz

make: *** [/home/mark/scriba/bin/mod/dll/zlib.so] Error 1

This is unix cwd=/home/mark/scriba/

executing headerer for the C files

extracting header from interface.c

creating the module object directory

Processing jamal files creating makefile

ERROR: SO was not created for some reason.

making compile command file(s)

starting compilation

commands/function.c: In function 'COMMAND_GOSUB':

commands/function.c:307: error: invalid lvalue in assignment

commands/function.c: In function 'COMMAND_RETURNC':

commands/function.c:327: error: invalid lvalue in assignment

commands/function.c: In function 'COMMAND_POP':

commands/function.c:349: error: invalid lvalue in assignment

commands/function.c: In function 'COMMAND_EXITFUNC':

commands/function.c:376: error: invalid lvalue in assignment

make: *** [/home/mark/scriba/bin/obj/function.o] Error 1

ld: cannot find -lbdb

make: *** [/home/mark/scriba/bin/mod/dll/bdb.so] Error 1

interface.c:26:23: error: curl/curl.h: No such file or directory

interface.c:132: error: expected specifier-qualifier-list before 'CURL'

interface.c: In function 'bootmodu':

<snip>

interface.c: In function 'finimodu':

interface.c:211: error: 'struct _CurlConnection' has no member named 'next'

<snip>

make: *** [/home/mark/scriba/bin/mod/obj/curl/s_interface.o] Error 1

interface.c:27:20: error: curses.h: No such file or directory

In file included from ../../basext.h:11,

from interface.c:113:

.../../lexer.h:171: error: expected declaration specifiers or '...' before
'FILE'

<snip>


make: *** [/home/mark/scriba/bin/mod/obj/mt/s_interface.o] Error 1

interface.c:13:25: error: mysql/mysql.h: No such file or directory

interface.c:14:26: error: mysql/errmsg.h: No such file or directory

interface.c:26: error: expected specifier-qualifier-list before 'MYSQL'

interface.c:38: error: 'CR_CONN_HOST_ERROR' undeclared here (not in a function)

<snip>

make: *** [/home/mark/scriba/bin/mod/obj/mysql/s_interface.o] Error 1

interface.c:10:17: error: sql.h: No such file or directory

interface.c:11:20: error: sqlext.h: No such file or directory

interface.c:21: error: expected specifier-qualifier-list before 'SQLHANDLE'

interface.c:30: error: expected specifier-qualifier-list before 'SQLHANDLE'

interface.c: In function 'bootmodu':

interface.c:156: error: 'SQLRETURN' undeclared (first use in this function)

<snip>

make: *** [/home/mark/scriba/bin/mod/obj/odbc/s_interface.o] Error 1

interface.c:27:33: error: postgresql/libpq-fe.h: No such file or directory

In file included from ../../basext.h:11,

from interface.c:28:

.../../lexer.h:171: error: expected declaration specifiers or '...' before
'FILE'

<snip>


make: *** [/home/mark/scriba/bin/mod/obj/psql/s_interface.o] Error 1

interface.c:19:27: error: libxml/parser.h: No such file or directory

interface.c: In function 'sbxmlParseFile':

interface.c:118: error: 'xmlDocPtr' undeclared (first use in this function)

<snip>
make: *** [/home/mark/scriba/bin/mod/obj/xml/s_interface.o] Error 1

ld: cannot find -lz

make: *** [/home/mark/scriba/bin/mod/dll/zlib.so] Error 1

scriba executable FAIL

sbhttpd executable FAIL

libscriba library FAIL

MODULE bdb: dll FAIL lib OK bas OK

MODULE cgi: dll OK lib OK bas OK

MODULE curl: dll FAIL lib FAIL bas OK

MODULE curses: dll FAIL lib FAIL bas OK

MODULE dbg: dll OK lib OK bas OK

MODULE gd: dll FAIL lib OK bas OK

MODULE hash: dll OK lib OK bas OK

MODULE mt: dll FAIL lib FAIL bas OK

MODULE mysql: dll FAIL lib FAIL bas OK

MODULE odbc: dll FAIL lib FAIL bas OK

MODULE psql: dll FAIL lib FAIL bas OK

MODULE re: dll OK lib OK bas OK

MODULE t: dll OK lib OK bas OK

MODULE trial: dll OK lib OK bas OK

MODULE ux: dll OK lib OK bas OK

MODULE xml: dll FAIL lib FAIL bas OK

MODULE zlib: dll FAIL lib OK bas OK

#

Thanks in advance to anyone who can help.

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/

.



Relevant Pages

  • Re: Function to count workdays
    ... even compile code before moving it to production, ... I prefer handling holidays ... That's why experienced programmers write tests. ...
    (comp.databases.ms-access)
  • Re: A C Adventure: your comments are welcome
    ... Compilers don't bother reading your sociology claptrap excuses - ... they can simply say "syntax error" and be done with you. ... Once you've got something that I can compile and link, ...
    (comp.lang.c)
  • Re: Java web services
    ... > * Use WSDL2Java to create classes based on the supplied WSDL, ... > that the JDK be in the classpath, and compile the necessary classes on ...
    (comp.lang.java.programmer)
  • Re: 200x wish list
    ... Albert van der Horst wrote: ... <SNIP> ... to check whether] is used when there is no definition in progress. ... It's an error to compile anything without a definition started to ...
    (comp.lang.forth)
  • Re: reading more data than the record size (RECL)
    ... end snip ... This overhead is there to allow Fortran ... written by the Fortran code, ... compile the original source code with g95, ...
    (comp.lang.fortran)