Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Sun Nov 23, 2014 12:49 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 14 posts ] 
Author Message
Unread postPosted: Tue Mar 16, 2004 5:17 pm 
Offline
User avatar

Joined: Mon Oct 27, 2003 10:47 am
Posts: 96
Location: Cognacq Jay - 7ème de Paris
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:

Quote:
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.

Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Mar 17, 2004 4:19 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 6:10 am
Posts: 2931
Location: Maryland, USA
setenv LDFLAGS -L/usr/libn32

might help.


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Mar 17, 2004 4:24 am 
Offline
User avatar

Joined: Tue Apr 29, 2003 2:02 pm
Posts: 972
Location: Winterthur, Switzerland
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?


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Mar 17, 2004 7:50 am 
Offline
User avatar

Joined: Mon Oct 27, 2003 10:47 am
Posts: 96
Location: Cognacq Jay - 7ème de Paris
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.


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Mar 27, 2004 10:11 am 
Offline
User avatar

Joined: Mon Oct 27, 2003 10:47 am
Posts: 96
Location: Cognacq Jay - 7ème de Paris
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


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Mar 28, 2004 10:21 am 
Offline
User avatar

Joined: Mon Jun 09, 2003 8:27 am
Posts: 356
Location: London, UK
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.


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Mar 28, 2004 4:07 pm 
Offline
User avatar

Joined: Mon Oct 27, 2003 10:47 am
Posts: 96
Location: Cognacq Jay - 7ème de Paris
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.


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Mar 28, 2004 8:51 pm 
Offline
User avatar

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

No. Again, another problem.

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

Code:
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:
[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:
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


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Mar 28, 2004 11:58 pm 
Offline
User avatar

Joined: Tue Apr 29, 2003 2:02 pm
Posts: 972
Location: Winterthur, Switzerland
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?


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Mar 29, 2004 1:49 am 
Offline
User avatar

Joined: Mon Jun 09, 2003 8:27 am
Posts: 356
Location: London, UK
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...


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Mar 29, 2004 3:10 am 
Offline

Joined: Tue Feb 24, 2004 5:10 pm
Posts: 9776
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 :-)


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Mar 29, 2004 5:42 am 
Offline
User avatar

Joined: Mon Oct 27, 2003 10:47 am
Posts: 96
Location: Cognacq Jay - 7ème de Paris
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?


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Mar 29, 2004 6:39 am 
Offline
User avatar

Joined: Tue Apr 29, 2003 2:02 pm
Posts: 972
Location: Winterthur, Switzerland
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?


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Mar 29, 2004 7:11 pm 
Offline
User avatar

Joined: Mon Oct 27, 2003 10:47 am
Posts: 96
Location: Cognacq Jay - 7ème de Paris
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group