RE: Compiling error on Linux

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

 



yep,
just do a "make optnoshared" and NO "make install" !!!
then point PWLIBDIR and OPENH323DIR to your compile-directories as described in manual,
try to READ THROUGH the manual carefully before starting, there is no point mentioned
to install the libraries on your system, so don't do this....

this keeps the eventually installed distribution-versions untouched

which distro are you using?

-----Original Message-----
From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Fred
Sent: Monday, March 21, 2005 4:12 PM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Compiling error on Linux

I've ever install openh323 and pwlib like described in manual.

In gnugk Makefile I can find that :
PWLIBDIR=/home/derf/pwlib_v1_9_0/lib/
OPENH323DIR=/usr/local

Can I just define PWLIBDIR and OPENH323DIR without reinstaling openh323 and
pwlib ?

Regards
Fred







Selon Roland Zagler <r.zagler@xxxxxx>:

> here's a little guide on how to compile gnugk (statically), you will need the
> following
> libraries for it:
>
> pwlib and openh323: http://sourceforge.net/projects/openh323
> openssl: http://www.openssl.org/source/
>
> "gnugk compile static" guide for linux (kernel 2.6.10):
>
> i compiled gnugk 2.2.2 statically from cvs (5th of march) with gcc-3.4.2,
> pwlib 1.8.3 (static),
> openh323 1.15.2 (static) and openssl 0.9.7e (static) and it works fine on
> fedora-core-3 and
> redhat-es30 on x86, even if he tells me that dlopen from glibc needs to be
> available on target
> machine to open dynamically ;-).
>
> i compiled statically not to touch any distribution versions of pwlib,
> openssl and openh323
> on my system and to use executable on other machines with older linux os.
>
> order:
>
> compile openssl statically (check with "ldd <libraryname>" if static)
> link "<openssldir>/libcrypto.a" to "<openssldir>/lib/libcrypto.a"
> link "<openssldir>/libssl.a" to "<openssldir>/lib/libcrypto.a"
> "set OPENSSLDIR=<openssldir>"
>
> compile pwlib statically (optnoshared) (check with "ldd <libraryname>" if
> static)
> link "<pwlibdir>/lib/libpt_linux_x86_r_s.a" to
> "<pwlibdir>/lib/libpt_linux_x86_r.a"
> "set PWLIBDIR=<pwlibdir>"
>
> compile openh323 statically (optnoshared) (check with "ldd <libraryname>" if
> static)
> link "<openh323dir>/lib/libh323_linux_x86_r_s.a" to
> "<openh323dir>/lib/libh323_linux_x86_r.a"
> "set OPENH323DIR=<openh323dir>"
>
> correct paths in top level Makefile of openh323gk if necessary
> compile openh323gk statically (add "LDFLAGS+= -static" to top level Makefile
> of openh323gk!!!!)
>
> then do a "ldd <openh323gkdir>/obj_<os>_<arch>_r/gnugk" and there should be
> no libraries to
> need except glibc!
>
> if you might need "addpasswd" to generate passwords for ini-file, do a "make
> addpasswd"
>
> in my case i put all 4 packages to one directory (/usr/src):
> <openssldir>: /usr/src/openssl-0.9.7e
> <pwlibdir>: /usr/src/pwlib
> <openh323dir>: /usr/src/openh323
> <openh323gkdir>: /usr/src/openh323gk
>
> let me know if this help....
>
> regards,
> roland
>
> -----Original Message-----
> From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
> [mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Fred
> Sent: Monday, March 21, 2005 3:19 PM
> To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Subject:  Compiling error on Linux
>
> Hello All,
>
> I'm a new user of gnugk and I get a compiling error, the Linux I use is in
> french then I have to translate the error message :
>
> make[2]: *** No rule to make target «
> /usr/local/share/pwlib//lib/libpt_linux_x86_r.so », needed for « versionts.h
> ».Stop.
>
> pwlib and openh323 are well installed (I think) but maybe there's trouble
> with
> path..
>
> Thanks for your help.
>
> Fred.
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk
>
> _______________________________________________________
>
> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id...49
> Homepage: http://www.gnugk.org/
>
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=cick
>
> _______________________________________________________
>
> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id...49
> Homepage: http://www.gnugk.org/
>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id...49
Homepage: http://www.gnugk.org/





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?49
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux