Kompilacia HylaFax

Tomas Potok potok na redbull.dcs.fmph.uniba.sk
Středa Květen 3 10:46:23 CEST 2000


Nedari sa mi skompilovat Hylafax na rh6.2.

Za prve mi konfiguracny skript hlasi, ze bud nemam kniznicu TIFF
(libtiff), alebo je stara. Oddebugoval som ten skript a trosku som mu
dopomohol, aby to nasiel (myslel si, ze je stara, bola az moc nova). 

Konfiguracia prebehne ok, ale kompilacia hadze kopec warningov a
napr. kniznicu libfaxutil.a neskompiluje vobec a na tej zavisi prevazna
cast ostatnych utilit... 

Prikladam vypisy:

Zoznam:     Verzie
	    Konfiguracia
	    Kompilacia (2 adresare)


************************************************************************

Verzie:

HylaFax v4.0pl2
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
standartny RH6.2

************************************************************************

Konfiguracia:

./configure

Configuring HylaFAX (tm) (aka FlexFAX) v4.0pl2.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
Reading cached parameters from config.cache.

Using /usr/bin/gcc for a C compiler (set CC to override).
Using " -g" for C compiler options.
Looks like /usr/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /usr/bin/gcc supports the -M option for generating make
dependencies.
Using /usr/bin/gcc for a C++ compiler (set CXX to override).
Using " -g" for C++ compiler options.
Looks like /usr/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Using /usr/bin/make to configure the software.
Using "include file" syntax for Makefiles.
Using /bin/bash to process command scripts.
Looks like -lcrypt is needed for crypt.
Looks like -lutil is needed for wtmp file logging.
Looks like -lm is the library for math functions.

Creating port.h with necessary definitions.
... open FIFO files read-only
... using call-by-reference for TIOCMBIS ioctl
... constrain client IDs to be <= 60002
... configure use of <sys/select.h>
... use (sig_t) for signal handler type
... use (sig_t) for sigvec handler type
... use (sig_t) for sigaction handler type
... configure use of mmap for memory-mapped files
... add function prototype for mkstemp
... add function prototype for getpass
... configure use of sysconf
... configure use of ulimit
... configure use of getdtablesize
... add #define for howmany
... configure use of fchown
... add function prototype for cuserid
... add function prototype for mktemp
... configure use of fchmod
... configure use of struct tm timezone information
... configure use of <locale.h> (internationalization support)
... configure use of <paths.h>
... configure use of logwtmp (BSD-style wtmp logging)
... add function prototype for logwtmp
... configure use of logout (BSD-style utmp support)
... add function prototype for logout
... configure use of <utmpx.h> (extended utmp interface)
... configure use of <crypt.h>
Done creating port.h.

Checking system libraries for functionality to emulate.
Done checking system libraries.

Checking TIFF support.
Using TIFF include files from /usr/local/include
Using pre-built TIFF library -L/usr/local/lib -ltiff
Done checking TIFF support.

Selecting programs used during installation and operation.
Looks like /bin/gawk should be used in command scripts.
Looks like /usr/sbin/sendmail should be used to deliver mail.
Looks like /usr/bin/mkfifo creates FIFO special files.
Looks like /bin/ln supports the -s option to create a symbolic link.
Done selecting programs.

Selecting default HylaFAX configuration parameters.

Using uid uucp and gid uucp for controlling access to fax stuff.
Using uid bin and gid bin for installing programs.
Using LSB2MSB bit order for your  cpu.
Looks like you need SysV getty support.
Using /sbin/getty as the program to exec for a data call.
Using /bin/vgetty as the program to exec for a voice call.
Using /bin/egetty as the program to exec for an extern call.
Looks like you use ascii-style UUCP lock files.
Looks like UUCP lock files go in /var/spool/uucp.
Looks like font metric information goes in
/usr/local/lib/ghostscript/fonts.
Looks like the gs imager package should be used.
Looks like /usr/bin/gs is the PostScript RIP to use.
Looks like manual pages go in /usr/local/man.
Looks like manual pages should be installed with sysv-source-cat.

HylaFAX configuration parameters are:

[ 1] Directory for applications:        /usr/local/bin
[ 2] Directory for lib data files:      /usr/local/lib/fax
[ 3] Directory for lib executables:     /usr/local/sbin
[ 4] Directory for system apps:         /usr/local/sbin
[ 5] Directory for manual pages:        /usr/local/man
[ 6] Directory for HTML documentation:  /usr/doc/faxhtml
[ 7] Directory for spooling:            /var/spool/fax
[ 8] Directory for font metrics:        /usr/local/lib/ghostscript/fonts
[ 9] Directory for uucp lock files:     /var/spool/uucp
[10] Uucp lock file scheme:             ascii
[11] PostScript imager package:         gs
[12] PostScript imager program:         /usr/bin/gs
[13] Manual page installation scheme:   sysv-source-cat
[14] Default page size:                 ISO A4
[15] Default vertical res (lpi):        98
[16] Location of getty program:         /sbin/getty
[17] Location of voice getty program:   /bin/vgetty
[18] Location of sendmail program:      /usr/sbin/sendmail
[19] Location of TIFF tools:            /usr/local/bin

Are these ok [yes]? 

WARNING, no font metric files appear to be installed on your system,
enabling
installation of the default set of metric files included with this
software.

Creating defs from ./defs.in
Creating config.h from ./config.h.in
Creating rules from ./rules.in
Creating Makefile from ./Makefile.in
Creating config/Makefile from ./config/Makefile.in
Creating etc/Makefile from ./etc/Makefile.in
Creating faxalter/Makefile from ./faxalter/Makefile.in
Creating faxcover/Makefile from ./faxcover/Makefile.in
Creating faxd/Makefile from ./faxd/Makefile.in
Creating faxmail/Makefile from ./faxmail/Makefile.in
Creating faxrm/Makefile from ./faxrm/Makefile.in
Creating faxstat/Makefile from ./faxstat/Makefile.in
Creating hfaxd/Makefile from ./hfaxd/Makefile.in
Creating man/Makefile from ./man/Makefile.in
Creating sendfax/Makefile from ./sendfax/Makefile.in
Creating sendpage/Makefile from ./sendpage/Makefile.in
Creating util/Makefile from ./util/Makefile.in
Creating port/install.sh from ./port/install.sh.in
Creating etc/faxsetup.sh from ./etc/faxsetup.sh.in
Creating etc/faxaddmodem.sh from ./etc/faxaddmodem.sh.in
Creating etc/probemodem.sh from ./etc/probemodem.sh.in
Creating etc/hylafax from ./etc/hylafax.in
Creating util/xferstats.sh from ./util/xferstats.sh.in
Creating util/recvstats.sh from ./util/recvstats.sh.in
Creating util/faxcron.sh from ./util/faxcron.sh.in
Creating util/pagesizes from ./util/pagesizes.in
Creating pkg/Makefile from ./pkg/Makefile.in
Creating pkg/cpkginfo from ./pkg/cpkginfo.in
Creating pkg/cproto.stub from ./pkg/cproto.stub.in
Creating pkg/crequest from ./pkg/crequest.in
Creating pkg/make_proto.sh from ./pkg/make_proto.sh.in
Creating pkg/postinstall from ./pkg/postinstall.in
Creating pkg/postremove from ./pkg/postremove.in
Creating pkg/spkginfo from ./pkg/spkginfo.in
Creating pkg/sproto.stub from ./pkg/sproto.stub.in
Creating pkg/srequest from ./pkg/srequest.in
Creating port/mkdepend from ./port/mkdepend.in
Creating zlib/Makefile from ./zlib/Makefile.in
Creating regex/Makefile from ./regex/Makefile.in
Creating afm/Makefile from ./afm/Makefile.in
Done.

************************************************************************

Prikladam kompilaciu len dvoch adresarov, ak sa kompiluje cely balik,
samozrejme to vyzera rovnako.

************************************************************************


[potok na box2 hylafax-v4.0pl2]$ cd util
[potok na box2 util]$ make
make[1]: Entering directory `/tmp/hylafax-v4.0pl2/util'
make[2]: Entering directory `/tmp/hylafax-v4.0pl2/util'
make[2]: Nothing to be done for `_quiet.c++dependtime'.
make[2]: Leaving directory `/tmp/hylafax-v4.0pl2/util'
make[2]: Entering directory `/tmp/hylafax-v4.0pl2/util'
make[2]: Nothing to be done for `_quiet.cdependtime'.
make[2]: Leaving directory `/tmp/hylafax-v4.0pl2/util'
make[1]: Leaving directory `/tmp/hylafax-v4.0pl2/util'
make[1]: Entering directory `/tmp/hylafax-v4.0pl2/util'
/usr/bin/gcc      -I.././zlib                     -D__ANSI_CPP__
-I. -I.. -I.././util -I.././util -I/usr/local/include -I.././regex -g -O
-x c++ -c Dispatcher.c++
In file included from Sys.h:31,
                 from Dispatcher.c++:27:
/usr/include/stdlib.h:566: warning: declaration of `mktemp(char *)' throws
different exceptions
../port.h:34: warning: previous declaration here
/usr/include/stdlib.h:573: warning: declaration of `mkstemp(char *)'
throws different exceptions
../port.h:24: warning: previous declaration here
In file included from Sys.h:35,
                 from Dispatcher.c++:27:
/usr/include/unistd.h:791: warning: declaration of `getpass(const char *)'
throws different exceptions
../port.h:25: warning: previous declaration here
Dispatcher.c++: In method `fxBool FdMask::anySet() const':
Dispatcher.c++:67: `fds_bits' undeclared (first use this function)
Dispatcher.c++:67: (Each undeclared identifier is reported only once
Dispatcher.c++:67: for each function it appears in.)
Dispatcher.c++: In method `int FdMask::numSet() const':
Dispatcher.c++:78: confused by earlier errors, bailing out
make[1]: *** [Dispatcher.o] Error 1
make[1]: Leaving directory `/tmp/hylafax-v4.0pl2/util'
make: *** [default] Error 2

************************************************************************

[potok na box2 hylafax-v4.0pl2]$ cd sendfax
[potok na box2 sendfax]$ make
make[1]: Entering directory `/tmp/hylafax-v4.0pl2/sendfax'
make[2]: Entering directory `/tmp/hylafax-v4.0pl2/sendfax'
make[2]: Nothing to be done for `_quiet.c++dependtime'.
make[2]: Leaving directory `/tmp/hylafax-v4.0pl2/sendfax'
make[1]: Leaving directory `/tmp/hylafax-v4.0pl2/sendfax'
make[1]: Entering directory `/tmp/hylafax-v4.0pl2/sendfax'
make[1]: *** No rule to make target `../util/libfaxutil.a', needed by
`sendfax'.  Stop.
make[1]: Leaving directory `/tmp/hylafax-v4.0pl2/sendfax'
make: *** [default] Error 2

************************************************************************

Vdaka za pomoc, 

Tomas

--
I have been infected, too.
Hi! I'm a .signature virus, copy me to your .signature to help me spread. 




Další informace o konferenci Linux