HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Compiling hylafax-4.3.2beta2 under Solaris x86 10 using gcc-3.4.6



So the problem appears to be that a "make install" doesn't guarantee
that the software is compile first.

Running make, before make install fixes. it.

Unfortunately, (or fortunately, depending on your view of of it).
HylaFAX does not use GNU autoconf/automake/libtool, and thus sometimes
builds a little differently than what people have become accustomed to
with many of the autoconf/automake projects.

AFAICT, all our documentation consistently points out a make [all] as a
step before a make install.

Do we want to try and make things work nicely with a single make install
and no preivous build?

Something like the following (untested) might work:

===== Makefile.in 1.12 vs edited =====
--- 1.12/Makefile.in    2007-02-05 15:03:07 -05:00
+++ edited/Makefile.in  2007-02-05 15:02:02 -05:00
@@ -255,6 +255,11 @@
 install: makeDirs makeDevices
        ${INSTALL} -m 444 -F ${SPOOL} -idb hylafax.sw.server \
            -src ${SRCDIR}/COPYRIGHT -O COPYRIGHT
+       @if [ "@PORT@" = yes ]; then \
+           ${ECHO} "= "port; cd port; ${MAKE} install ||  exit $?; \
+       else \
+           true; \
+       fi
        @if [ "@REGEX@" = yes ]; then \
            ${ECHO} "= "regex; cd regex; ${MAKE} install  ||  exit 1; \
        else \


a.



* donnie <del@xxxxxxxxxxxx> [070201 16:44]:
> Hello there,
> 
> My environment consist of:
> OS          => Solaris 10 x86 Dec 2006 release
> Hardware => generic Intel Celeron based PC at 600Mhz
> Memory  => 512M
> Modem => US Robotic 56K x2 External Modem
> 
> 
> /usr/local/bin/gcc -L/usr/local/lib -R/usr/local/lib       
> -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util  -I.././util 
> -I/usr/local/include -g -fpic -O -o faxmsg .././util/faxmsg.c  -L../util 
> -L../faxd -R/usr/local/lib -lfaxutil -lstdc++ -L/usr/local/lib   -lpam  
> -L/usr/local/lib -ltiff -lz -L../regex -lregex ../port/libport.a 
> -lsocket -lnsl  -lmalloc
> gcc: ../port/libport.a: No such file or directory
> 
> 
> 
> What is libport.a:? Is it something that I can download/install?

-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions