UIM - now working!!! Thank you!

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
shumiyao
Posts: 96
Joined: Mon Oct 27, 2003 10:47 am
Location: Cognacq Jay - 7ème de Paris

UIM - now working!!! Thank you!

Unread postby shumiyao » Tue Mar 16, 2004 5:17 pm

UPDATE: See below!

Hello!

I have been trying to compile a software called uim but I got no luck. I appreciate if anyone could help me out.

My environment status can be found here.

I get the following error in compiling UIM:

ld32: FATAL 12:Expecting n32 objects: /usr/lib64/libXext.so is 64-bit.
collect2: ld returned 4 exit status
gmake[1]: *** [uim-xim] error 1
gmake[1]: Leaving directory '/Shared/reservoir/uim-0.3.2/xim'
gmake: *** [all-recursive] error1


When I tried to compile uim with n32 options, then I got errors saying library is o32.

BTW, I could compile a dictionary (mainly japanese-english, kanji and so on.) software called gjiten (I had weak difinition errors in compiling but it seems to be working so far)

http://shumiyao.tripod.com/gjiten.html

Is there anyone interested in this gjiten?
Last edited by shumiyao on Mon Mar 29, 2004 8:42 pm, edited 5 times in total.

User avatar
squeen
Moderator
Moderator
Posts: 2931
Joined: Fri May 09, 2003 6:10 am
Location: Maryland, USA

Unread postby squeen » Wed Mar 17, 2004 4:19 am

setenv LDFLAGS -L/usr/libn32

might help.

User avatar
whiter
Posts: 972
Joined: Tue Apr 29, 2003 2:02 pm
Location: Winterthur, Switzerland
Contact:

Unread postby whiter » Wed Mar 17, 2004 4:24 am

change libn32 to lib32 and it might work even better ;-)
Shall I describe it to you? Or do you want me to get you a box?

User avatar
shumiyao
Posts: 96
Joined: Mon Oct 27, 2003 10:47 am
Location: Cognacq Jay - 7ème de Paris

Unread postby shumiyao » Wed Mar 17, 2004 7:50 am

Thank you but I got the same result. I will try gcc 3.3.3 later.

Update:

I decided to stick with gcc 3.3.

I tried modifying Makefile. (look for uim-xim line) changed those lib64 to lib32. Saw weak definition but I seemed to be able to compile. Am very sleepy/ Will try tomorrow. // Still trying... could compile uim-xim but I get errors after that. Apparently I do not seem to be able to solve this problem.

User avatar
shumiyao
Posts: 96
Joined: Mon Oct 27, 2003 10:47 am
Location: Cognacq Jay - 7ème de Paris

Unread postby shumiyao » Sat Mar 27, 2004 10:11 am

http://www.ac.aup.fr/a26147/irix/uim.html

I compiled my compilation log of uim which is now translated into English.

I was advised today by Mr. Tabata from uim mailing list to set Xlib --

LDFLAGS="-L/usr/X11R6/lib -lX11' ./configure

Will try this later.

Cheers,

Shu

User avatar
nvukovlj
Posts: 356
Joined: Mon Jun 09, 2003 8:27 am
Location: London, UK
Contact:

Unread postby nvukovlj » Sun Mar 28, 2004 10:21 am

shumiyao wrote:
I was advised today by Mr. Tabata from uim mailing list to set Xlib --

LDFLAGS="-L/usr/X11R6/lib -lX11' ./configure

Will try this later.

Cheers,

Shu


This won't help you much as there is no /usr/X11R6/lib directory on IRIX.

I thought I'd have a little go at this...

Compiled without major issues.

These were my settings:

./configure --disable-applet --disable-xfce4-panel --without-gnome2

LDFLAGS -L/usr/lib32 -L/usr/freeware/lib32
CPPFLAGS -I/usr/freeware/include

I also set up my path so perl 5.6.1 was found on my system

I used gcc 3.3. The program can be also compiled with MipsPro with minor modifications.

For gcc, I had to modified all the files in xim directory which have #include <alloca.h>. Loading of this header needs to be enabled...

Note: I had no gnome2 library so compiled without that. Also, this binary is unlikely to work very well as I currently only have libgtk2 v2.0.6, but just linked against that for convenience...

Nik.

User avatar
shumiyao
Posts: 96
Joined: Mon Oct 27, 2003 10:47 am
Location: Cognacq Jay - 7ème de Paris

Unread postby shumiyao » Sun Mar 28, 2004 4:07 pm

Thank you for information, Nik.

I posted the information to uim mailing list to inform.

Now I think that many people need to check the program.

I got another reply from Japan. Mr. Tokunaga kindly made a patch for a problem I encountered right after the LDFLAGS problem. The result was ... completed compilation of uim with neko_gnome2. Here is a brief summary.

1) alloca problem - > see here

2) 32bit/64bit problem (unique to my environment?) - > see here

3) LDFLAGS problem - > see here

4) UimApplet.server problem - > see here

Please let us know how uim works with chinese, korean etc. etc.. Feedbacks really appreciated. I will trans-post feedbacks at neko to uim mailing list.

User avatar
shumiyao
Posts: 96
Joined: Mon Oct 27, 2003 10:47 am
Location: Cognacq Jay - 7ème de Paris

Unread postby shumiyao » Sun Mar 28, 2004 8:51 pm

Hello,

No. Again, another problem.

When I start uim-xim program, I receive errors and it does not work at all.

Code: Select all

40069:/usr/people/shumiyao/uim-0.3.3/xim/.libs/lt-uim-xim: rld: Error: unresolvable symbol in /usr/people/shumiyao/uim-0.3.3/uim/.libs/libuim.so.1: libiconv_close
40069:/usr/people/shumiyao/uim-0.3.3/xim/.libs/lt-uim-xim: rld: Error: unresolvable symbol in /usr/people/shumiyao/uim-0.3.3/uim/.libs/libuim.so.1: libiconv
40069:/usr/people/shumiyao/uim-0.3.3/xim/.libs/lt-uim-xim: rld: Error: unresolvable symbol in /usr/people/shumiyao/uim-0.3.3/uim/.libs/libuim.so.1: libiconv_open
40069:/usr/people/shumiyao/uim-0.3.3/xim/.libs/lt-uim-xim: rld: Fatal Error: this executable has unresolvable symbols


Output of "nm libuim.so.1 | grep iconv"

Code: Select all

[135]   |         0|       0|FUNC |GLOB |DEFAULT  |UNDEF  |libiconv_close
[139]   |         0|       0|FUNC |GLOB |DEFAULT  |UNDEF  |libiconv
[143]   |         0|       0|FUNC |GLOB |DEFAULT  |UNDEF  |libiconv_open
[163]   |1610377352|     224|FUNC |GLOB |DEFAULT  |MIPS_TEXT|uim_iconv_is_convertible
[164]   |1610377576|     116|FUNC |GLOB |DEFAULT  |MIPS_TEXT|uim_iconv_create
[165]   |1610377692|     316|FUNC |GLOB |DEFAULT  |MIPS_TEXT|uim_iconv_code_conv
[166]   |1610378008|      84|FUNC |GLOB |DEFAULT  |MIPS_TEXT|uim_iconv_release
[290]   |1610574944|       8|OBJT |GLOB |DEFAULT  |MIPS_DATA|uim_iconv
[330]   |1610574928|      16|STAT |LOCL |DEFAULT  |MIPS_DATA|uim_iconv_tbl


Currently, I am using:

./configure --disable-applet --disable-xfce4-panel --prefix=/opt/uim-0.3.3 --with-libiconv=/usr/local

I found from forum search that Mr. Hakimoto once had a problem with iconv in compiling Sylpheed. Reference

I checked config.log. cat config.log | grep icon

Code: Select all

ld32: FATAL 9: I/O error (-liconv): No such file or directory


However I could not find solution to this problem.

I really appreciate if anyone could help me regarding this matter.

Thank you in advance.

Shu

User avatar
whiter
Posts: 972
Joined: Tue Apr 29, 2003 2:02 pm
Location: Winterthur, Switzerland
Contact:

Unread postby whiter » Sun Mar 28, 2004 11:58 pm

You need to install libiconv.

Which can be found on this site on these locations:

MipsPro build: http://www.nekochan.net/wiki/downloads/contr ... nv.tardist

GCC build: http://www.nekochan.net/wiki/downloads/g2off ... 2a.tardist
Shall I describe it to you? Or do you want me to get you a box?

User avatar
nvukovlj
Posts: 356
Joined: Mon Jun 09, 2003 8:27 am
Location: London, UK
Contact:

Unread postby nvukovlj » Mon Mar 29, 2004 1:49 am

This also shows that their configure script needs fixing. It needs to stop when requirements are not met, not keep going.
As whiter mentions you need libiconv installed, and it needs to be found by configure of course...

hamei
Posts: 9877
Joined: Tue Feb 24, 2004 5:10 pm

Unread postby hamei » Mon Mar 29, 2004 3:10 am

nvukovlj wrote:This also shows that their configure script needs fixing. It needs to stop when requirements are not met, not keep going.


maybe cosmos has a point :-)

User avatar
shumiyao
Posts: 96
Joined: Mon Oct 27, 2003 10:47 am
Location: Cognacq Jay - 7ème de Paris

Unread postby shumiyao » Mon Mar 29, 2004 5:42 am

whiter wrote:You need to install libiconv.


Thank you for advices. That is the point. I have installed neko_libiconv-1.9.2a.tardist but I still get the error.

Installed libraries:
http://www.ac.aup.fr/a26147/irix/libraries.html

Is there any way to force the uim configure to find the neko_libiconv?

User avatar
whiter
Posts: 972
Joined: Tue Apr 29, 2003 2:02 pm
Location: Winterthur, Switzerland
Contact:

Unread postby whiter » Mon Mar 29, 2004 6:39 am

add -L/usr/local/lib to nvukovlj's suggestions :)
Shall I describe it to you? Or do you want me to get you a box?

User avatar
shumiyao
Posts: 96
Joined: Mon Oct 27, 2003 10:47 am
Location: Cognacq Jay - 7ème de Paris

Unread postby shumiyao » Mon Mar 29, 2004 7:11 pm

Thank you to all!

Mission completed?

http://www.ac.aup.fr/a26147/irix/uim.html

It IS working. Now I gotta start thinking about support for other languages (such as Chinese, Korean) Needs additional packages for each language to be supported.

Is it possible to contribute this uim to nekoware along with gjiten?

--UPDATE
No. You do not need anything else to type Korean and Chinese. All you need is ttf fonts. As for Korean, you do not even need this uim software. It IS included with neko_gnome.

Cheers.


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 1 guest