Discussion:
[omniORB] Building omniORB-4.1.4 under AIX
Jayanth Venkatraj
2012-10-04 13:16:05 UTC
Permalink
I am using a AIX 6 box:

$ uname -a
AIX cmaix61 1 6 00F704644C00

And xlc version 11
$ xlc -qVersion
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0000

And I could not find omnipython for AIX. Can anyone point me in the right direction to where I can get the source for omnipython, so I can build it from scratch?

The SourceForge page doesn't list an AIX version http://sourceforge.net/projects/omniorb/files/omnipython/omnipython-1.5.2-1/

I am using a regular Python (2.7.3 32 bit executable)

I did a export CC='xlc -q32' CXX='xlC -q32' LDFLAGS='-g -b32' LD_LIBRARY_PATH=/cmsi1/tools/rw/rw_buildspace/lib:/usr/java_dev2/jre/bin:/usr/vacpp/lib:/lib
PYTHON=/usr/citizens_prep/Python-2.3.7/python

And I am did the ./configure -prefix=/usr/citizens_prep/omniORB-4.1.4/build

Do I need to specify a -build parameter?

gmake[3]: Entering directory `/usr/citizens_prep/omniORB-4.1.4/src/services/mklib'
+ rm -f shared/libCOS4.so.1.4
+ xlC -q32 -G -qmkshrobj -bnoipath -blibpath:/usr/lib:/usr/citizens_prep/omniORB-4.1.4/build/lib -o shared/libCOS4.so.1.4 -L../../../lib -L../../../lib shared/TimeBaseSK.o shared/CosTimeSK.o shared/CosEventCommSK.o shared/CosEventChannelAdminSK.o shared/CosNotificationSK.o shared/CosNotifyCommSK.o shared/CosNotifyFilterSK.o shared/CosNotifyChannelAdminSK.o shared/CosLifeCycleSK.o -lomniORB41 -lomniDynamic41 -lomnithread -lpthread
ld: 0706-006 Cannot find or open library file: -l omniORB41
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l omniDynamic41
ld:open(): A file or directory in the path name does not exist.
gmake[3]: *** [shared/libCOS4.so.1.4] Error 255
gmake[3]: Leaving directory `/usr/citizens_prep/omniORB-4.1.4/src/services/mklib'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory `/usr/citizens_prep/omniORB-4.1.4/src/services'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory `/usr/citizens_prep/omniORB-4.1.4/src'
gmake: *** [all] Error 2


Any idea as to why it is looking for omniORB41 and not omniORB4?


ls -l /usr/citizens_prep/omniORB-4.1.4/lib

lrwxrwxrwx 1 jayv staff 19 Oct 04 09:02 _omniidlmodule.so -> _omniidlmodule.so.4
lrwxrwxrwx 1 jayv staff 21 Oct 04 09:02 _omniidlmodule.so.4 -> _omniidlmodule.so.4.1
-rw-r--r-- 1 jayv staff 656766 Oct 04 08:57 _omniidlmodule.so.4.1
-rw-r--r-- 1 jayv staff 536515 Oct 04 09:00 libomniCodeSets4.a
lrwxrwxrwx 1 jayv staff 21 Oct 04 09:02 libomniCodeSets4.so -> libomniCodeSets4.so.1
lrwxrwxrwx 1 jayv staff 23 Oct 04 09:02 libomniCodeSets4.so.1 -> libomniCodeSets4.so.1.4
-rw-r--r-- 1 jayv staff 510046 Oct 04 09:00 libomniCodeSets4.so.1.4
-rw-r--r-- 1 jayv staff 74855 Oct 04 09:00 libomniConnectionMgmt4.a
lrwxrwxrwx 1 jayv staff 27 Oct 04 09:02 libomniConnectionMgmt4.so -> libomniConnectionMgmt4.so.1
lrwxrwxrwx 1 jayv staff 29 Oct 04 09:02 libomniConnectionMgmt4.so.1 -> libomniConnectionMgmt4.so.1.4
-rw-r--r-- 1 jayv staff 91557 Oct 04 09:00 libomniConnectionMgmt4.so.1.4
-rw-r--r-- 1 jayv staff 4943927 Oct 04 08:59 libomniDynamic4.a
lrwxrwxrwx 1 jayv staff 20 Oct 04 09:02 libomniDynamic4.so -> libomniDynamic4.so.1
lrwxrwxrwx 1 jayv staff 22 Oct 04 09:02 libomniDynamic4.so.1 -> libomniDynamic4.so.1.4
-rw-r--r-- 1 jayv staff 5358084 Oct 04 08:59 libomniDynamic4.so.1.4
-rw-r--r-- 1 jayv staff 4413181 Oct 04 08:58 libomniORB4.a
lrwxrwxrwx 1 jayv staff 16 Oct 04 09:02 libomniORB4.so -> libomniORB4.so.1
lrwxrwxrwx 1 jayv staff 18 Oct 04 09:02 libomniORB4.so.1 -> libomniORB4.so.1.4
-rw-r--r-- 1 jayv staff 4192228 Oct 04 08:58 libomniORB4.so.1.4
-rw-r--r-- 1 jayv staff 34318 Oct 04 08:57 libomnithread.a
lrwxrwxrwx 1 jayv staff 18 Oct 04 09:02 libomnithread.so -> libomnithread.so.3
lrwxrwxrwx 1 jayv staff 20 Oct 04 09:02 libomnithread.so.3 -> libomnithread.so.3.4
-rw-r--r-- 1 jayv staff 47625 Oct 04 08:57 libomnithread.so.3.4
-rwxr-xr-x 1 jayv staff 169875 Oct 04 08:57 omnicpp
drwxrwxr-x 4 jayv staff 256 Oct 04 08:57 python

I can create a soft link to the existing libomniORB4.a, but I want to know if I am missing something or doing something wrong.

Thanks,
Jay Venkatraj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20121004/5b0d7aa9/attachment.html>
Duncan Grisby
2012-10-09 10:43:36 UTC
Permalink
Post by Jayanth Venkatraj
And I could not find omnipython for AIX. Can anyone point me in the
right direction to where I can get the source for omnipython, so I can
build it from scratch?
You should use a full install of Python. omnipython is obsolete.
Post by Jayanth Venkatraj
And I am did the ./configure ?
prefix=/usr/citizens_prep/omniORB-4.1.4/build
You shouldn't set the prefix to the build directory. You should set it
to the place you're going to install omniORB.
Post by Jayanth Venkatraj
Do I need to specify a ?build parameter?
No.
Post by Jayanth Venkatraj
gmake[3]: Entering directory
`/usr/citizens_prep/omniORB-4.1.4/src/services/mklib'
[...]
Post by Jayanth Venkatraj
ld: 0706-006 Cannot find or open library file: -l omniORB41
There is an error in the makefiles for AIX. It has been fixed since
4.1.6, so the fix will be in 4.1.7.

Edit src/services/mklib/stublib/dir.mk and
src/services/mklib/dynstublib/dir.mk and remove the ifdef AIX blocks.


Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
Loading...