RE: Solaris 10

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

 



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 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

hope this helps...

regards,
roland

-----Original Message-----
From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of R.
Todd Wallace
Sent: Friday, March 18, 2005 4:40 PM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Solaris 10

 
Just wanted to clarify a couple of things...We are trying to compile on
x86
Solaris 10 and we are using gcc-3.4.2.  PWLIB seems to be a problem
child
here....

R. Todd Wallace
-----Original Message-----
From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
Sergio
Lenzi
Sent: Thursday, March 17, 2005 10:32 PM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Solaris 10

On Thursday 17 March 2005 23:58, R. Todd Wallace wrote:
> 
> Has anyone gotten GNUGK to work with Solaris 10?  We are having 
> trouble getting it to compile....
> 
>
I have one working version 2.2.1...

but I had to compile it using gcc-3.4.... and all the gnu stuff...
gmake, bison.....


Sergio


-------------------------------------------------------
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_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
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_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
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