Muthu,
1) Remove old libiconv and libxml2
2) Install new libiconv and libxml2
3) Install Kannel
4) Install mbuni
That should work.
You can also try installing fink, which is a much better means of
managing GNU installs on OSX.
I don't have a binary for Tiger/PPC. If it were Intel I could help...
On Dec 11, 2007, at 10:33, Muthu Nedumaran wrote:
Paul,
There is no need for Rosetta as they are both the same architecture
(PPC).
When I remove the old libiconv.2.2.0.dylib file, Kannel would not
compile. It fails saying that it can't locate file for -liconv
So, it looks like kannel specifically wants 2.2.0 and mbuni is
asking for something newer?
The machine has a standard Tiger installation with all files
installed in their default locations --- just wondering if there is
an easier way to do this?
I'll try compiling the iconv and libxml2 files.
Alternatively, if there is a compiled binary for mbuni (Tiger/PPC)
that will be really very helpful.
MN.
On Dec 11, 2007, at 2:53 PM, Paul Bagyenda wrote:
They should work AFAIK once copied (because of Rosetta), but you
need to ensure the old ones are no longer there.
To upgrade, download the sources of iconv and libxml2, compile,
install. You will want to ensure xml2-config is in the search path
and is called before the older one.
On Dec 11, 2007 9:35 AM, Muthu Nedumaran <[EMAIL PROTECTED]>
wrote:
I found libiconv.2.4.0.dylib and /usr/lib/libxml2.2.6.17.dylib in
another Mac OS (PPC) machine.
I'm not sure if I can just copy over these files to the /usr/lib
dir of the machine I'm trying to compile mbuni.
Anyways, I did that -- starting from make clean in Kannel and
onwards. Hit into exactly the same problem at the same point of
failure.
I guess I can't just copy over the library files. Could you pls
advice how I can do the upgrade of the libs? I only have command
line access to the machine I need to install.
Thanks so much for your help.
MN
----- Original Message ----
From: Paul Bagyenda <[EMAIL PROTECTED]>
To: Muthu Nedumaran < [EMAIL PROTECTED]>
Cc: users@mbuni.org
Sent: Tuesday, December 11, 2007 1:03:38 PM
Subject: Re: [Users] gwlib problem again on Mac OS X
My guess is that the problem is related to libxml2, and the way it
uses libiconv (for charset encoding conversion). You are using
libxml2 v2.2. Upgrade to at least v2.6. If that succeeds then
(hopefully) so should the compilation.
While you are at it, you may also want to upgrade libiconv to v2.4
before updating libxml2, and see if that helps.
On Dec 11, 2007 7:56 AM, Muthu Nedumaran < [EMAIL PROTECTED]>
wrote:
Paul,
Thanks for the speedy response. I did a find on both the libs, and
they are there:
muthu$ sudo find / -name *libiconv* -print
/Library/Documentation/Libraries/libiconv
/usr/lib/libiconv.2.2.0.dylib
/usr/lib/libiconv.2.dylib
/usr/lib/libiconv.dylib
/usr/lib/libiconv.la
/usr/share/doc/libiconv
muthu$ sudo find / -name *libxml2* -print
/usr/include/libxml2
/usr/lib/libxml2.2.dylib
/usr/lib/libxml2.dylib
/usr/lib/libxml2.la
/usr/share/doc/libxml2-2.6.16
Are they where they should be? Is there anything I need to add to
ensure that config picks them up?
Cheers!
MN.
----- Original Message ----
From: Paul Bagyenda <[EMAIL PROTECTED]>
To: Muthu Nedumaran < [EMAIL PROTECTED] >
Cc: users@mbuni.org
Sent: Tuesday, December 11, 2007 12:02:43 PM
Subject: Re: [Users] gwlib problem again on Mac OS X
The part of the configure process that failed says:
-------
configure:21874: gcc -o conftest -g -O2 -DDARWIN=1 -O4 -Wall -I/usr/
include/openssl -I/usr/local/include/kannel -L/usr/local/lib/
kannel -lwap -lgwlib conftest.c -lgwlib -lssl -lpthread -ldl -L/
usr/lib -lcrypto -lssl >&5
/usr/bin/ld: Undefined symbols:
_libiconv
_libiconv_close
_libiconv_open
_xmlAddEncodingAlias
_xmlBufferAdd
_xmlBufferCreate
_xmlBufferFree
_xmlCharEncInFunc
_xmlCharEncOutFunc
_xmlCleanupEncodingAliases
_xmlFindCharEncodingHandler
-----
which means that gwlib is in place but either
a) libxml2 is older than v2.6
and/or
b) libiconv development stuff is not installed or it is installed
in a different location from what is expected.
OSX definitely works (as it is primary development environment I
use). Can you check that the above are installed, then install
Kannel.
On Dec 11, 2007 6:39 AM, Muthu Nedumaran <[EMAIL PROTECTED]>
wrote:
Hello,
After repeated failures in compiling on Solaris, decided to do this
on Mac OS instead. I was able to compile and run mbuni on my Intel
MBP running Tiger.
However, we need to run this on one of our PPC boxes - also running
Tiger.
1. I downloaded kannel snapshot. Was able configure, make install
and run. No problems here
2. Downloaded mbuni-1.3.0.
bootstrap --> no problem!
When I did a
sudo ./configure
it complains about gwlib required. I've searched the forum for
this and there were others who had similar problems caused by the
lib being out of date and fixed with ranlib.
I did that too, but got the same problem again. However, the
config.log file shows that libiconv is missing -- which I think is
not the case for Tiger.
I've attached the log file. Appreciate any pointers.
MN.
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users