Level B error.

After making the following hacks, I was able to get a build - but nearly all
the tests failed (Level C error).  So my hacks may not have been 'good
enough'.

Configuration.pm
(After Line 58) added
    #   Need to put quotations around entire string if spaces in string
    if( $esql =~ / / )
    {
        $esql = "\"$esql\"";
    }

Makefile.pl
(Line 122) changed
    my $INC1 = "-I$ID/incl/esql$auxincl";
to
    my $INC1 = "-I\^\"$ID/incl/esql$auxincl\^\"";

(Line 580) changed
    { OTHERLDFLAGS => "/LIBPATH:$ID/lib /LIBPATH:$ID/lib/esql $libs"};
to
    { OTHERLDFLAGS => "/LIBPATH:\^\"$ID/lib\^\"
/LIBPATH:\^\"$ID/lib/esql\^\" $libs"};

Hacks on the generated Makefile:
(After Line 114) added
    INCA =   -IC:\Program Files\Informix\Client-SDK/incl/esql
-I$(INSTALLARCHLIB)/auto/DBI -I$(INSTALLSITEARCH)/auto/DBI

(About Line 893) changed
    ESQLFLAGS = $(UFLAGS) $(INC) $(ESQL_NT) $(CCFLAGS) $(OPTIMIZE) \
to
    ESQLFLAGS = $(UFLAGS) $(INCA) $(ESQL_NT) $(CCFLAGS) $(OPTIMIZE) \

-Nick Hansen

Reply via email to