Re: configure on FreeBSD - now make

"James B. Byrne via Aubit4gl-discuss" <[email protected]> Fri, 8 Jan 2021 09:55:13 -0500
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Well, pdflib is not installed on this host as a FreeBSD pkg for it is not
available.

./configure --prefix=$HOME/usr/local
checking Aubit version... -1.5.2-
checking cached information... ok
creating config.nice
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.16... found   <<-- reset to 1.16 in configure
checking for working autoconf... found
checking for working automake-1.16... found
checking for working autoheader... found
checking for working makeinfo... found

Checking for PDF support:
checking for pdflib-config... no
checking for main in -lpdf... no
checking pdflib.h usability... no
checking pdflib.h presence... no
checking for pdflib.h... no
checking if we can use PDF... no

Checking for Haru PDF support:
checking hpdf.h usability... yes
checking hpdf.h presence... yes
checking for hpdf.h... yes
checking for HPDF_Page_ShowText in -lhpdf... yes
checking for main in -lstdc++... yes


gmake
grep: /etc/ld.so.conf: No such file or directory

+--------------------------------------------------------------------+
| make invoked with flags :
| make invoked in : /home/byrnejb_hll/Projects/aubit4gl
| Reading from root makefile variables:
+--------------------- C Compiler settings --------------------------+
| CFLAGS          =  -g  -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H=
-I/home/byrnejb_hll/Projects/aubit4gl/incl
-I/home/byrnejb_hll/Projects/aubit4gl  -fPIC -DPIC
| LD_LIBRARY_PATH =
/home/byrnejb_hll/Projects/aubit4gl/lib:/usr/local/lib:/lib::/lib:/lib/esql
+--------------------------------------------------------------------+
| COMPILEDATE=08-01-2021 AUBITVERSION=1.5 AUBITBUILD=2
| AUBITDIR=/home/byrnejb_hll/Projects/aubit4gl OS=x86_64-unknown-freebsd12.1
TARGET_OS=unknown
| CONFIGURE_COMMAND = '--prefix=/home/byrnejb_hll/usr/local'
+--------------------------------------------------------------------+
/usr/local/bin/gmake -C lib/libaubit4gl api.headers
gmake[1]: Entering directory
'/usr/home/byrnejb_hll/Projects/aubit4gl/lib/libaubit4gl'

. . .

gcc  -g  -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H=
-I/home/byrnejb_hll/Projects/aubit4gl/incl
-I/home/byrnejb_hll/Projects/aubit4gl  -fPIC -DPIC
-I/home/byrnejb_hll/Projects/aubit4gl/lib/libincl -I../../compilers/fcompile   
 -c -o haru.o haru.c
gcc  -g  -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H=
-I/home/byrnejb_hll/Projects/aubit4gl/incl
-I/home/byrnejb_hll/Projects/aubit4gl  -fPIC -DPIC
-I/home/byrnejb_hll/Projects/aubit4gl/lib/libincl -I../../compilers/fcompile   
 -c -o ../liblogical/pdf/process/pdf_barcode.o
../liblogical/pdf/process/pdf_barcode.c
../liblogical/pdf/process/pdf_barcode.c:6:10: fatal error: pdflib.h: No such
file or directory
    6 | #include "pdflib.h"
      |          ^~~~~~~~~~
compilation terminated.
gmake[2]: *** [<builtin>: ../liblogical/pdf/process/pdf_barcode.o] Error 1
gmake[2]: Leaving directory '/usr/home/byrnejb_hll/Projects/aubit4gl/lib/libpdf'
gmake[1]: *** [Makefile:369:
/home/byrnejb_hll/Projects/aubit4gl/plugins-1.5_2/libEXREPORT_NOPDF.so] Error 2
gmake[1]: Leaving directory '/usr/home/byrnejb_hll/Projects/aubit4gl/lib'
gmake: *** [Makefile:285: corecompile] Error 2

As shown above configure does not find pdflib but gmake tries to use it
nonetheless.

On Fri, January 8, 2021 08:59, Mike Aubury wrote:
> It shouldn't try to compile stuff requiring pdflib, if pdflib
> isnt installed..
> libharu is supported as an alternative, but it builds a separate shared
> library for that (its not a direct replacement)
>

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3