aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation on IRIX 6.5 aMule CVS 20080423  (Read 3317 times)

Gaznevada

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 51
Compilation on IRIX 6.5 aMule CVS 20080423
« on: April 28, 2008, 06:50:40 PM »

Prerequisites:

wx 2.8.7 with patched sources (nasty bug in the official release).
libcrypto 5.5.2 with patched sources
perl 5.8.8 (no patches)

aMule: good news! Some patches here and there, but perhaps I'm going
to get through (the stress on "perhaps")

Just a question: "configure" says that IRIX 6.5 has working PRIxNN macros,
which is definitely NOT true (IRIX has no PRIxNN at all!). Please, could anyone of you
take a look on that part of code? Maybe a more robust "conftest.c"?
I have had to patch aMule everywhere a PRIu64 reference was made.

-- Cheers

Gaznevada
Logged
--
"Orwell was an optimist" - Usenet, somewhere.

Gaznevada

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 51
Re: Compilation on IRIX 6.5 aMule CVS 20080423
« Reply #1 on: May 08, 2008, 10:18:08 AM »

amuled: up and running
amuleweb: working fine
amule: working fine

five files to patch, namely

configure
ArchSpecific.h (a #define must be set on to avoid a SIGBUS on runtime)
amuled.cpp (strerror_r missing on IRIX)
php_core_lib.cpp (PRIu64 missing on IRIX)
php_syntree.cpp (ditto)

and a brand new header to write:

Strerror_r.h (emulating strerror_r, not in all UNIX flavors...)

Could a wiki page be useful?

-- Cheers

Gaznevada
Logged
--
"Orwell was an optimist" - Usenet, somewhere.

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compilation on IRIX 6.5 aMule CVS 20080423
« Reply #2 on: May 08, 2008, 02:03:04 PM »

Thanks a lot for your work!

Please give us exact information on the necessary changes so that we can incorporate them. A wiki page could be a way to do so, a patch is OK, too.
Logged

Gaznevada

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 51
Re: Compilation on IRIX 6.5 aMule CVS 20080423
« Reply #3 on: May 08, 2008, 05:20:00 PM »

Wiki page. I'll send you the link by e-mail. Up to you to decide to
publish it or not.


--cheers

--
Gaznevada
Logged
--
"Orwell was an optimist" - Usenet, somewhere.

Gaznevada

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 51
Re: Compilation on IRIX 6.5 aMule CVS 20080423
« Reply #4 on: May 09, 2008, 12:20:15 AM »

Thanks a lot for your work!

Please give us exact information on the necessary changes so that we can incorporate them. A wiki page could be a way to do so, a patch is OK, too.

E-mail with wiki link sent.

-- Cheers.

-- Gaznevada
Logged
--
"Orwell was an optimist" - Usenet, somewhere.