Re: [elinks-dev] elinks is broken on sparc64/OpenBSD!

2009-08-08 Thread Edd Barrett
On Fri, Aug 07, 2009 at 01:42:51AM +0300, Kalle Olavi Niemitalo wrote:
> Edd Barrett  writes:
> 
> >>> The next problem is, if you change any preferences, they do not appear
> >>> to be saved. This is likely to be related to the first problem.
> >> Did you tell ELinks to save the changes?
> >
> > Yes
> 
> Is sparc64 big-endian with sizeof(int) < sizeof(void *)?
> That would explain the problem with the options.
> http://bugzilla.elinks.cz/show_bug.cgi?id=764

#include 

int main(void) {
printf("int = %d\n", sizeof(int));
printf("void * = %d\n", sizeof(void *));

return 0;
}

blade% ./a.out 
int = 4
void * = 8

This may well be casuing the problem?

-- 

Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

http://students.dec.bmth.ac.uk/ebarrett
___
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev


Re: [elinks-dev] elinks is broken on sparc64/OpenBSD!

2009-08-06 Thread Kalle Olavi Niemitalo
Edd Barrett  writes:

>>> The next problem is, if you change any preferences, they do not appear
>>> to be saved. This is likely to be related to the first problem.
>> Did you tell ELinks to save the changes?
>
> Yes

Is sparc64 big-endian with sizeof(int) < sizeof(void *)?
That would explain the problem with the options.
http://bugzilla.elinks.cz/show_bug.cgi?id=764

I don't know whether that bug could cause ELinks not to display
any web pages, though.  It may be best to fix that first, and
then try again.


pgpkiFK9xOMBV.pgp
Description: PGP signature
___
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev


Re: [elinks-dev] elinks is broken on sparc64/OpenBSD!

2009-08-06 Thread Edd Barrett
On Wed, Aug 05, 2009 at 03:39:21AM +0300, Kalle Olavi Niemitalo wrote:
> Edd Barrett  writes:
> 
> > First of all, it warns me of a deprecated config file, even though there
> > is not one. Every time. Even if you blast away ~/.elinks and try again.
> 
> What is the warning exactly?
> 

Here is a screenshot of the message:
http://students.dec.bmth.ac.uk/ebarrett/files/elink_msg.png

-- 

Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

http://students.dec.bmth.ac.uk/ebarrett
___
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev


Re: [elinks-dev] elinks is broken on sparc64/OpenBSD!

2009-08-06 Thread Edd Barrett
Hi,

On Wed, Aug 5, 2009 at 1:39 AM, Kalle Olavi Niemitalo wrote:
> What is the warning exactly?

Bah, I forgot to note this, will mail it later when I get home.


>> The next problem is, if you change any preferences, they do not appear
>> to be saved. This is likely to be related to the first problem.
> Did you tell ELinks to save the changes?

Yes

> Which compiler did you use?  Try disabling optimizations.
> If that does not work around the problem right away,
> the executable should at least become easier to debug.

gcc-3.3.5.

If you use -O0 the problems persist.

>> So basically, elinks is broken in many ways on sparc64. Are any of the
>> elinks developers interested in helping me pinpoint and eliminate these
>> defects?
>
> Sure.

Great!

-- 
Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

http://students.dec.bournemouth.ac.uk/ebarrett
___
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev


Re: [elinks-dev] elinks is broken on sparc64/OpenBSD!

2009-08-05 Thread Kalle Olavi Niemitalo
Edd Barrett  writes:

> First of all, it warns me of a deprecated config file, even though there
> is not one. Every time. Even if you blast away ~/.elinks and try again.

What is the warning exactly?

> The next problem is, if you change any preferences, they do not appear
> to be saved. This is likely to be related to the first problem.

Did you tell ELinks to save the changes?

Which compiler did you use?  Try disabling optimizations.
If that does not work around the problem right away,
the executable should at least become easier to debug.

> So basically, elinks is broken in many ways on sparc64. Are any of the
> elinks developers interested in helping me pinpoint and eliminate these
> defects?

Sure.


pgp5PPDoSSSYM.pgp
Description: PGP signature
___
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev