gtk-gnutella-devel Digest, Vol 18, Issue 1

View: New views
1 Messages — Rating Filter:   Alert me  

gtk-gnutella-devel Digest, Vol 18, Issue 1

by gtk-gnutella-devel-request :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Send gtk-gnutella-devel mailing list submissions to
        gtk-gnutella-devel@...

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
or, via email, send a message with subject or body 'help' to
        gtk-gnutella-devel-request@...

You can reach the person managing the list at
        gtk-gnutella-devel-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-gnutella-devel digest..."


Today's Topics:

   1. Re:  compile problems (Christian Biere)
   2. Re:  compile problems (Joel Oliver)
   3. Re:  compile problems (Christian Biere)
   4.  LimeWire doesn't want to be my leaf. (gionnico)
   5. Re:  LimeWire doesn't want to be my leaf. (Christian Biere)
   6. Re:  LimeWire doesn't want to be my leaf. (gionnico)
   7. Re:  LimeWire doesn't want to be my leaf. (Christian Biere)
   8. Re:  compile problems (Joel Oliver)
   9.  Dtrace and memory leaks, a first effort. (Matthew Lye)


----------------------------------------------------------------------

Message: 1
Date: Mon, 26 Nov 2007 18:14:00 +0100
From: Christian Biere <christianbiere@...>
Subject: Re: [gtk-gnutella-devel] compile problems
To: Joel Oliver <joelol75@...>
Cc: gtk-gnutella-devel@...
Message-ID: <20071126171400.GA366@cyclonus>
Content-Type: text/plain; charset=us-ascii

Joel Oliver wrote:

> Tried again today with release using subversion.

> I d/l it into /usr/src/gtk-gnutella and cd into the directory (as root,
> the whole time) then ./Configure I use all the defaults except using
> gtk2 (Well... as pic'd above) and have a the *-dev packages installed.
> It always got over this and and allowed it to make depend, then I issue
> make and then make install. Now I am getting the above error about
> gtk2. I installed the gtk1 dev and it does compile, so it's only a
> problem using gtk2 and libgtk2.0-dev is installed.

You shouldn't use Configure directly. Run ./build.sh instead. See
./build.sh --help to check if you want to use any switches but you
probably don't need any of them.

Could you show me the output of the following commands?
pkg-config gtk+-2.0 --cflags --libs
pkg-config glib-2.0 --cflags --libs

--
1000 octets   = 1 ko = 1 kilooctet; 1024 octets   = 1 Kio = 1 kibioctet
1000^2 octets = 1 Mo = 1 megaoctet; 1024^2 octets = 1 Mio = 1 mebioctet
1000^3 octets = 1 Go = 1 gigaoctet; 1024^3 octets = 1 Gio = 1 gibioctet



------------------------------

Message: 2
Date: Tue, 27 Nov 2007 17:41:51 -0500
From: Joel Oliver <joelol75@...>
Subject: Re: [gtk-gnutella-devel] compile problems
To: gtk-gnutella-devel@...
Message-ID: <474C9D2F.60203@...>
Content-Type: text/plain; charset=ISO-8859-1

Christian Biere wrote:

> Joel Oliver wrote:
>
>  
>> Tried again today with release using subversion.
>>    
>
>  
>> I d/l it into /usr/src/gtk-gnutella and cd into the directory (as root,
>> the whole time) then ./Configure I use all the defaults except using
>> gtk2 (Well... as pic'd above) and have a the *-dev packages installed.
>> It always got over this and and allowed it to make depend, then I issue
>> make and then make install. Now I am getting the above error about
>> gtk2. I installed the gtk1 dev and it does compile, so it's only a
>> problem using gtk2 and libgtk2.0-dev is installed.
>>    
>
> You shouldn't use Configure directly. Run ./build.sh instead. See
> ./build.sh --help to check if you want to use any switches but you
> probably don't need any of them.
>
> Could you show me the output of the following commands?
> pkg-config gtk+-2.0 --cflags --libs
> pkg-config glib-2.0 --cflags --libs
>
>  
Here's output of ./build.sh and the output of the two commands:

ERROR: Cannot compile against Gtk+. Library or header files might be
missing.
ADVICE: Run "apt-get install libgtk2.0-dev".
If you need help to resolve the compile problem, please send a mail to

        gtk-gnutella-devel (at) lists.sourceforge.net

or submit a bug report here:

       
http://sourceforge.net/tracker/?atid=104467&group_id=4467&func=browse

You might also want to have a look at the README files in advance.

ERROR: Configure failed.
root@serveftp4:/usr/src/gtk-gnutella# apt-get install libgtk2.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgtk2.0-dev is already the newest version.
The following packages were automatically installed and are no longer
required:
  libxine-dev pwgen libnet-daemon-perl libpostproccvs51 libslang2-dev
libbluetooth-dev libxslt1-dev libxml2-utils mysql-server
  libgpgme11-dev libasound2-dev libdbi-perl libmp4v2-0 libtiff4-dev
xlibmesa-gl-dev libcapseo-dev libavutilcvs49 libopenexr-dev
  libtiffxx0c2 libglu1-xorg-dev libaspell-dev libpcrecpp0 libportaudio2
libstrigiqtdbusclient0 libqt4-dev libenchant-dev
  x11proto-record-dev cmake libjasper-dev libpth-dev network-manager-dev
libssl-dev libcaptury0 libdbd-mysql-perl libkeyutils-dev
  libxml2-dev ntp libqt3-mt-mysql mysql-client libnm-util-dev
libsoprano-dev libplrpc-perl libpq-dev libstreams-dev libcapseo0
  libpcre3-dev libswscalecvs0 libcaptury-dev libavahi-common-dev
libsqlite0-dev libdbus-glib-1-dev mysql-server-5.0
  libstreamanalyzer-dev libxtst-dev libsasl2-dev libbz2-dev
libungif4-dev mysql-client-5.0 libldap2-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@serveftp4:/usr/src/gtk-gnutella# pkg-config gtk+-2.0 --cflags --libs
Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pixman-1', required by 'cairo', not found
root@serveftp4:/usr/src/gtk-gnutella# pkg-config glib-2.0 --cflags --libs
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -lglib-2.0
root@serveftp4:/usr/src/gtk-gnutella#          




------------------------------

Message: 3
Date: Wed, 28 Nov 2007 00:00:31 +0100
From: Christian Biere <christianbiere@...>
Subject: Re: [gtk-gnutella-devel] compile problems
To: Joel Oliver <joelol75@...>
Cc: gtk-gnutella-devel@...
Message-ID: <20071127230030.GE5922@cyclonus>
Content-Type: text/plain; charset=us-ascii

Joel Oliver wrote:
> root@serveftp4:/usr/src/gtk-gnutella# pkg-config gtk+-2.0 --cflags --libs
> Package pixman-1 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `pixman-1.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'pixman-1', required by 'cairo', not found

Okay, so that is the problem. Some dependency which should be installed,
apparently isn't.

Maybe try this to fix it:
apt-get install pixman-1

As long as "pkg-config gtk+-2.0 --cflags --libs" fails, it won't compile.

--
1000 octets   = 1 ko = 1 kilooctet; 1024 octets   = 1 Kio = 1 kibioctet
1000^2 octets = 1 Mo = 1 megaoctet; 1024^2 octets = 1 Mio = 1 mebioctet
1000^3 octets = 1 Go = 1 gigaoctet; 1024^3 octets = 1 Gio = 1 gibioctet



------------------------------

Message: 4
Date: Wed, 28 Nov 2007 23:25:11 +0100
From: gionnico <gionnico@...>
Subject: [gtk-gnutella-devel] LimeWire doesn't want to be my leaf.
To: gtk-gnutella-devel@...
Message-ID: <474DEAC7.9020308@...>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Why , when I'm an ultranode, about for the first 24h LimeWire leaves
don't want to connect to me?
Can I change it in gnet_properties or in the debug window someway?
What's the name of the information I send them that they don't judge
"good enough" for a ultranode?
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Fiorucci Pin-Up Collection: scopri le nuove fragranze e...vinci 1000 Euro di shopping in limousine!
*
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7259&d=28-11



------------------------------

Message: 5
Date: Wed, 28 Nov 2007 23:52:47 +0100
From: Christian Biere <christianbiere@...>
Subject: Re: [gtk-gnutella-devel] LimeWire doesn't want to be my leaf.
To: gtk-gnutella-devel@...
Message-ID: <20071128225247.GC27743@cyclonus>
Content-Type: text/plain; charset=us-ascii

gionnico wrote:
> Why , when I'm an ultranode, about for the first 24h LimeWire leaves
> don't want to connect to me?
> Can I change it in gnet_properties or in the debug window someway?
> What's the name of the information I send them that they don't judge
> "good enough" for a ultranode?

What version of gtk-gnutella do you use? I guess, your ultrapeer isn't
considered good enough because it doesn't send the infamous "X-Requeries"
header.

--
1000 octets   = 1 ko = 1 kilooctet; 1024 octets   = 1 Kio = 1 kibioctet
1000^2 octets = 1 Mo = 1 megaoctet; 1024^2 octets = 1 Mio = 1 mebioctet
1000^3 octets = 1 Go = 1 gigaoctet; 1024^3 octets = 1 Gio = 1 gibioctet



------------------------------

Message: 6
Date: Thu, 29 Nov 2007 13:12:05 +0100
From: gionnico <gionnico@...>
Subject: Re: [gtk-gnutella-devel] LimeWire doesn't want to be my leaf.
To: gtk-gnutella-devel@...
Message-ID: <474EAC95.2040407@...>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Christian Biere ha scritto:

> gionnico wrote:
>> Why , when I'm an ultranode, about for the first 24h LimeWire leaves
>> don't want to connect to me?
>> Can I change it in gnet_properties or in the debug window someway?
>> What's the name of the information I send them that they don't judge
>> "good enough" for a ultranode?
>
> What version of gtk-gnutella do you use? I guess, your ultrapeer isn't
> considered good enough because it doesn't send the infamous "X-Requeries"
> header.
>
I'm using a SVN snapshot, with modified common.h to seem "stable".
How can I know what headers is my client sending, and how can I change it?
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Fai squillare la PANTERA ROSA sul tuo cellulare: e' in REGALO
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6613&d=29-11



------------------------------

Message: 7
Date: Thu, 29 Nov 2007 16:57:03 +0100
From: Christian Biere <christianbiere@...>
Subject: Re: [gtk-gnutella-devel] LimeWire doesn't want to be my leaf.
To: gtk-gnutella-devel@...
Message-ID: <20071129155702.GA19999@cyclonus>
Content-Type: text/plain; charset=us-ascii

gionnico wrote:
> Christian Biere ha scritto:
> > gionnico wrote:
> >> Why , when I'm an ultranode, about for the first 24h LimeWire leaves
> >> don't want to connect to me?
> >> Can I change it in gnet_properties or in the debug window someway?
> >> What's the name of the information I send them that they don't judge
> >> "good enough" for a ultranode?

> > What version of gtk-gnutella do you use? I guess, your ultrapeer isn't
> > considered good enough because it doesn't send the infamous "X-Requeries"
> > header.

> I'm using a SVN snapshot, with modified common.h to seem "stable".
> How can I know what headers is my client sending, and how can I change it?

Update and see whether the problem persists.

--
1000 octets   = 1 ko = 1 kilooctet; 1024 octets   = 1 Kio = 1 kibioctet
1000^2 octets = 1 Mo = 1 megaoctet; 1024^2 octets = 1 Mio = 1 mebioctet
1000^3 octets = 1 Go = 1 gigaoctet; 1024^3 octets = 1 Gio = 1 gibioctet



------------------------------

Message: 8
Date: Thu, 29 Nov 2007 16:04:25 -0500
From: Joel Oliver <joelol75@...>
Subject: Re: [gtk-gnutella-devel] compile problems
To: gtk-gnutella-devel@...
Message-ID: <474F2959.4010309@...>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Christian Biere wrote:

> Joel Oliver wrote:
>  
>> root@serveftp4:/usr/src/gtk-gnutella# pkg-config gtk+-2.0 --cflags --libs
>> Package pixman-1 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `pixman-1.pc'
>> to the PKG_CONFIG_PATH environment variable
>> Package 'pixman-1', required by 'cairo', not found
>>    
>
> Okay, so that is the problem. Some dependency which should be installed,
> apparently isn't.
>
> Maybe try this to fix it:
> apt-get install pixman-1
>
> As long as "pkg-config gtk+-2.0 --cflags --libs" fails, it won't compile.
>
>  
Thanks much, after installing libpixman1-dev it worked flawless... I
just don't understand how that package got deleted and removing it will
remove 60% of my entire X session packages and it was installed at one
time... Maybe a apt-get update did some funny things, as i'm finding a
lot of glitches in gutsy compared to feisty...  Thanks again for a great
program ;)




------------------------------

Message: 9
Date: Sat, 1 Dec 2007 13:33:34 -0500
From: Matthew Lye <mlye@...>
Subject: [gtk-gnutella-devel] Dtrace and memory leaks, a first effort.
To: gtk-gnutella-devel@...
Message-ID: <1FECDF00-D40F-499F-9CE5-654A8C644A0B@...>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Hey everybody,

I've been messing around a little bit with the new development tools  
in Leopard.  If I've managed to use the memory leak tool properly  
(based on Dtrace, with a GUI), and do in fact understand what I'm  
doing, you should find that the logic of the following functions  
allows a return without deallocating allocated memory, i.e., they can  
(and sometimes do) leak.

If this proves to be correct, and useful, then I'll do further testing.

The format is  [frame number]   [library]   [function].

Two sixteen byte leaks:
      0      libSystem.B.dylib       malloc
      1      libglib-1.2.0.dylib     g_malloc
      2      gtk-gnutella            prop_get_guint32
      3      gtk-gnutella            update_entry_duration
      4      gtk-gnutella            settings_gui_init
      5      gtk-gnutella            main_gui_init
      6      gtk-gnutella            main
      7      gtk-gnutella            start
      8      0x0

One sixteen byte leak:
      0      libSystem.B.dylib       malloc
      1      libglib-1.2.0.dylib     g_malloc
      2      gtk-gnutella            prop_get_guint64
      3      gtk-gnutella            update_size_entry
      4      gtk-gnutella            settings_gui_init
      5      gtk-gnutella            main_gui_init
      6      gtk-gnutella            main
      7      gtk-gnutella            start
      8      0x0

Four sixteen byte leaks:
      0      libSystem.B.dylib       calloc
      1      libglib-1.2.0.dylib     g_malloc0
      2      gtk-gnutella            filter_new_text_rule
      3      gtk-gnutella            xml_to_text_rule
      4      gtk-gnutella            xml_to_filter
      5      gtk-gnutella            search_retrieve_xml
      6      gtk-gnutella            search_gui_common_init
      7      gtk-gnutella            main_gui_init
      8      gtk-gnutella            main
      9      gtk-gnutella            start
     10      0x0

regards,
Matt






------------------------------

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

------------------------------

_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@...
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel


End of gtk-gnutella-devel Digest, Vol 18, Issue 1
*************************************************