Re: [Fink-devel] X11 BadMatch errors in wireshark and pan

2007-12-16 Thread David Lowe
On Dec 16, 2007, at 1:06 PM, Max Horn wrote:

> Could this be a problem with Apple's new X11? Or one with GTK+2 ? In
> any case, I told those folks for now to try to rebuild gtk+2, pan/
> wireshark, and some other packages. No idea whether that will help
> (but I am somewhat sceptical...).


As discussed previously here: http://article.gmane.org/ 
gmane.os.apple.fink.general/24647/ the problem is in the new X11.   
The fix is to install the new XQuartz.  Note that the hosting site  
has moved to: http://trac.macosforge.org/projects/xquartz .

Using a rusty Amiga 4000T, a shiny PowerMac G5, & a homebuilt Ubuntu box

If at first you do succeed, try to hide your astonishment.

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] replacing a whole file in patch phase

2007-12-16 Thread David Reiser

On Dec 16, 2007, at 6:46 PM, Alexander Hansen wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> David Reiser wrote:
>> Alexander has indirectly called my attention to the fact that
>> gnucash2 has a utility that does a Bad Thing.
>>
>> gnc-fq-update is a perl script that invokes CPAN to install all the
>> perl modules that gnucash uses for retrieving stock quotes via
>> Finance::Quote. One of the modules installed is LWP, which doesn't
>> play nice in at least the fink realm, and maybe macs in general.
>>
>> I could just delete the script post-install, but that would
>> guarantee a few extra "what's (not) going on?" queries. I could
>> also patch the strings pointing to the script saying "use fink to
>> update finance- quote", but I'm pretty sure that would break a few
>> translations.
>>
>> Since I could replace the whole script with:
>>
>> #!/bin/sh fink update date-manip-pm finance-quote-pm588
>>
>> I'm thinking that might be the least intrusive method. (I already
>> have separate .info files for 10.4 and 10.5 because of other perl
>> issues, so I'd have to do the right thing in each.)
>>
>> How would I substitute my two line script for the contents of
>> gnc-fq- update.in in the patchscript?
>>
>> Dave -- David Reiser [EMAIL PROTECTED]
>>
>>
>>
> How about something like:
>
> PatchScript:  /usr/bin/perl -e 'print "#!/bin/sh\nfink update
> date-manip-pm finance-quote-pm588\n";' > gnc-fq-update.in
>
> (modified as is appropriate for where the file actually is).  That'll
> overload the file with new contents.

Thanks. I suspected I'd be embarrassed by the simplicity of the  
solution, but I'm sure I'd have spent an absurdly long time getting  
the quoting right and remembering that > overwrites instead of  
appends. I'll test this in preparation for the new release that's  
coming in a day or so.

Dave
--
David Reiser
[EMAIL PROTECTED]





-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] quakeforge & cpp

2007-12-16 Thread Pierre-Henri Lavigne

Good day all,

Trying to port quakeforge, i got the following errors at compile step :
http://pastebin.ca/819047

The portion code I have to modify is :
http://pastebin.ca/819518
CPP_NAME="/usr/libexec/gcc/darwin/`/usr/bin/arch`/default/cpp %d -o %o %i" 
seems to be wrong :

cd /usr/libexec/gcc/darwin/`/usr/bin/arch` is:
/usr/libexec/gcc/darwin/ppc on my mac (Mac OS X 10.4.11 PPC)

ls -la /usr/libexec/gcc/darwin/ppc
total 744
drwxr-xr-x6 root  wheel 204 Dec 17 01:09 .
drwxr-xr-x6 root  wheel 204 Sep 17  2006 ..
drwxr-xr-x9 root  wheel 306 Sep 14  2006 3.3
drwxr-xr-x   10 root  wheel 340 Sep 12  2006 3.3-fast
-r-xr-xr-x1 root  wheel  375864 Sep 17  2006 as
lrwxr-xr-x1 root  wheel   3 Dec 17 01:09 default -> 4.0

The link 4.0 doesn't exist  (No such file or directory)

Any idea to cleanly patch this ? Is my current config wrong ?
I'm working with a developer from quakeforge so then I can send them a patch.

Thanks for your feedback,

Pierre-Henri

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] replacing a whole file in patch phase

2007-12-16 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Reiser wrote:
> Alexander has indirectly called my attention to the fact that
> gnucash2 has a utility that does a Bad Thing.
>
> gnc-fq-update is a perl script that invokes CPAN to install all the
>  perl modules that gnucash uses for retrieving stock quotes via
> Finance::Quote. One of the modules installed is LWP, which doesn't
>  play nice in at least the fink realm, and maybe macs in general.
>
> I could just delete the script post-install, but that would
> guarantee a few extra "what's (not) going on?" queries. I could
> also patch the strings pointing to the script saying "use fink to
> update finance- quote", but I'm pretty sure that would break a few
> translations.
>
> Since I could replace the whole script with:
>
> #!/bin/sh fink update date-manip-pm finance-quote-pm588
>
> I'm thinking that might be the least intrusive method. (I already
> have separate .info files for 10.4 and 10.5 because of other perl
> issues, so I'd have to do the right thing in each.)
>
> How would I substitute my two line script for the contents of
> gnc-fq- update.in in the patchscript?
>
> Dave -- David Reiser [EMAIL PROTECTED]
>
>
>
How about something like:

PatchScript:  /usr/bin/perl -e 'print "#!/bin/sh\nfink update
date-manip-pm finance-quote-pm588\n";' > gnc-fq-update.in

(modified as is appropriate for where the file actually is).  That'll
overload the file with new contents.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHZbi8B8UpO3rKjQ8RAtRfAJ9mnZ6hqV/tQbQ2/SxDVemTL5tOPwCcCT6e
fHvuTH+4g6ipVCoeCEJou+o=
=UZ/f
-END PGP SIGNATURE-


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] replacing a whole file in patch phase

2007-12-16 Thread David Reiser
Alexander has indirectly called my attention to the fact that gnucash2  
has a utility that does a Bad Thing.

gnc-fq-update is a perl script that invokes CPAN to install all the  
perl modules that gnucash uses for retrieving stock quotes via  
Finance::Quote. One of the modules installed is LWP, which doesn't  
play nice in at least the fink realm, and maybe macs in general.

I could just delete the script post-install, but that would guarantee  
a few extra "what's (not) going on?" queries. I could also patch the  
strings pointing to the script saying "use fink to update finance- 
quote", but I'm pretty sure that would break a few translations.

Since I could replace the whole script with:

#!/bin/sh
fink update date-manip-pm finance-quote-pm588

I'm thinking that might be the least intrusive method. (I already have  
separate .info files for 10.4 and 10.5 because of other perl issues,  
so I'd have to do the right thing in each.)

How would I substitute my two line script for the contents of gnc-fq- 
update.in in the patchscript?

Dave
--
David Reiser
[EMAIL PROTECTED]





-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] X11 BadMatch errors in wireshark and pan

2007-12-16 Thread David Reiser

On Dec 16, 2007, at 6:00 PM, David Reiser wrote:

>
> On Dec 16, 2007, at 4:06 PM, Max Horn wrote:
>
>> Hi folks,
>>
>> I have received 4 our 5 reports now from users of my pan & wireshark
>> packages. They are all on 10.5, and the error they receive looks like
>> this:
>>
>>
>> The program 'wireshark' received an X Window System error.
>> This probably reflects a bug in the program.
>> The error was 'BadMatch (invalid parameter attributes)'.
>>  (Details: serial 10249 error_code 8 request_code 62 minor_code 0)
>>  (Note to programmers: normally, X errors are reported
>> asynchronously;
>>   that is, you will receive the error a while after causing it.
>>   To debug your program, run it with the --sync command line
>>   option to change this behavior. You can then get a meaningful
>>   backtrace from your debugger if you break on the gdk_x_error()
>> function.)
>>
>>
>> Sadly, I have no idea what might cause this. Or rather, I can only
>> speculate, as I still am running 10.4, and that won't change for some
>> time...
>>
>> Could this be a problem with Apple's new X11? Or one with GTK+2 ? In
>> any case, I told those folks for now to try to rebuild gtk+2, pan/
>> wireshark, and some other packages. No idea whether that will help
>> (but I am somewhat sceptical...).
>>
>> Cheers,
>> Max
>
> I don't use it heavily, but my only problem with wireshark under 10.5
> was solved by installing the newer x11 available from
> xquarz.macosforge.org
>
oops. left out a 't', but I might as well copy and paste the redirect:

http://trac.macosforge.org/projects/xquartz

Dave
--
David Reiser
[EMAIL PROTECTED]





-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] X11 BadMatch errors in wireshark and pan

2007-12-16 Thread David Reiser

On Dec 16, 2007, at 4:06 PM, Max Horn wrote:

> Hi folks,
>
> I have received 4 our 5 reports now from users of my pan & wireshark
> packages. They are all on 10.5, and the error they receive looks like
> this:
>
>
> The program 'wireshark' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadMatch (invalid parameter attributes)'.
>   (Details: serial 10249 error_code 8 request_code 62 minor_code 0)
>   (Note to programmers: normally, X errors are reported  
> asynchronously;
>that is, you will receive the error a while after causing it.
>To debug your program, run it with the --sync command line
>option to change this behavior. You can then get a meaningful
>backtrace from your debugger if you break on the gdk_x_error()
> function.)
>
>
> Sadly, I have no idea what might cause this. Or rather, I can only
> speculate, as I still am running 10.4, and that won't change for some
> time...
>
> Could this be a problem with Apple's new X11? Or one with GTK+2 ? In
> any case, I told those folks for now to try to rebuild gtk+2, pan/
> wireshark, and some other packages. No idea whether that will help
> (but I am somewhat sceptical...).
>
> Cheers,
> Max

I don't use it heavily, but my only problem with wireshark under 10.5  
was solved by installing the newer x11 available from  
xquarz.macosforge.org

Dave
--
David Reiser
[EMAIL PROTECTED]





-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] X11 BadMatch errors in wireshark and pan

2007-12-16 Thread Max Horn
Hi folks,

I have received 4 our 5 reports now from users of my pan & wireshark  
packages. They are all on 10.5, and the error they receive looks like  
this:


The program 'wireshark' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
   (Details: serial 10249 error_code 8 request_code 62 minor_code 0)
   (Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()  
function.)


Sadly, I have no idea what might cause this. Or rather, I can only  
speculate, as I still am running 10.4, and that won't change for some  
time...

Could this be a problem with Apple's new X11? Or one with GTK+2 ? In  
any case, I told those folks for now to try to rebuild gtk+2, pan/ 
wireshark, and some other packages. No idea whether that will help  
(but I am somewhat sceptical...).

Cheers,
Max

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel