aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20050126 and solaris  (Read 4658 times)

july`s

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
20050126 and solaris
« on: January 26, 2005, 04:51:27 PM »

hello,
first, pls excuse me for my english

finaly, i got a compiled amule and that`s not all, it also can start, connect and wokring almost fine :)...

i`ll start with the troubles of the compilation

1) dirent.h
the solaris dirent.h is not the same ... hm, ok let's say it's differnt from what amule expect :)
the d_type is not member of struct dirent
we have not DT_DIR and DT_REG also...

but these one is not dificult to fight:) we just use the fallover case in CFile.cpp
 (i have attached the diff`s)

2) getmntent

in most cases getmntent return pointer to struct i which are writen the mount infos...
but in solaris it`s different...
the affected files are amule.cpp and amule-gui.cpp
amule.cpp had more wokr:)
we have to include sys/mnttab.h (instead of mnent.h)
have to comment execinfo.h (else make fail, but not seriosly)
and have to make just little change in the part of getting mount stauts and info...
of course we have to use the right names of the new structure (mnttab instead of mntent)  (it`s also attached, like diffs)

amule-gui.cpp is just about includes... it`s not interesting...

the most interesting part, was when it still crashes on startup...

so when it got running (and not crashing), i have used the wxgtk and wxbase from your site (they seem patched against the use of internal gtk functions), and i have to be sure, that i am using libX11.so.4 and not libX11.so.6 (which a have compiled), and i use the crypto from your site (not the embedded one).

so it`s running and connectiong end so so..., BUT if i not run it localy..
i`ll explain, if i run from the local terminla it crashes again...
but if i run it from remote session (DISPLAY=xxx.xxx.xxx.xxx.:0.0 amule) it runs, connect and so on....
the environment variables from both shells (local and remote) are the same...

a just have time right now to debug why...

p.s. i have allready a emule client, and it`s runnig and downloading some files, after their downlodaing, i'll try to debug and make it run even from local:)
Logged

july`s

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
update
« Reply #1 on: January 27, 2005, 01:40:19 PM »

fully running :) it`s faster (connect faster, than the other clien i have)

just have to unset LANG to the local shell, now is runnig perfectly...


btw, somewhere in the source (i'm not shure, may be it is for another source:) ) there is statement about eth0, remember solaris, eth0 is rarely present:), may be bge0 or something like that...

so dont forget to link eth0 to your network interface...

p.s. may be these should be moved to the success stories:?)
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 20050126 and solaris
« Reply #2 on: January 27, 2005, 02:24:58 PM »

I want you to join irc and talk to us, as we love your patches and will have to find the best way to make it into CVS. Please, come there and look for me :)
Logged

july`s

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
10q
« Reply #3 on: January 28, 2005, 12:07:16 PM »

it's pleasure for me to be usefull
10q for your invitation

pls, use the 'patches' the best way you find, feel free for it:)

i can't join irc channel right now (and may be these 'right now' will be longer), the timezone is also in the game (i am +2 gmt )...

but i check my mail several times a day, and i'am online in icq (21420857) several hours per day (but not weekends)
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: 20050126 and solaris
« Reply #4 on: January 28, 2005, 12:17:20 PM »

july`s,

Nevermind about timezone, amule devs never sleep anyway... :P

Cheers!
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 20050126 and solaris
« Reply #5 on: January 28, 2005, 12:38:17 PM »

july`s
yeah timezone is no big deal, most of us are in +1 anyways...
and this evil bird there is from brazil and we have no problems with getting in touch with him aswell :)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."