[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

problem building ruby-gnome

Joe Van Dyk

3/23/2005 10:37:00 PM

Hi,

I've got my gtk headers (and ruby) installed in a subdirectory in my home dir.

I'm trying to build the ruby-gnome bindings, but the (I think)
pkgconfig part fails to find where I'm hiding the gnome headers/libs.
How can I tell it where the gnome files are?

Thanks,
Joe


8 Answers

Joe Van Dyk

3/23/2005 10:40:00 PM

0

On Wed, 23 Mar 2005 14:36:38 -0800, Joe Van Dyk <joevandyk@gmail.com> wrote:
> Hi,
>
> I've got my gtk headers (and ruby) installed in a subdirectory in my home dir.
>
> I'm trying to build the ruby-gnome bindings, but the (I think)
> pkgconfig part fails to find where I'm hiding the gnome headers/libs.
> How can I tell it where the gnome files are?
>
> Thanks,
> Joe
>

Generally, what I do with autoconf is
/configure --prefix=$HOME/mine_linux
where $HOME/mine_linux is where I install various linux packages.

But
ruby extconf.rb --prefix=$HOME/mine-linux
didn't work either.


Joe Van Dyk

3/23/2005 10:45:00 PM

0

On Wed, 23 Mar 2005 14:39:44 -0800, Joe Van Dyk <joevandyk@gmail.com> wrote:
> On Wed, 23 Mar 2005 14:36:38 -0800, Joe Van Dyk <joevandyk@gmail.com> wrote:
> > Hi,
> >
> > I've got my gtk headers (and ruby) installed in a subdirectory in my home dir.
> >
> > I'm trying to build the ruby-gnome bindings, but the (I think)
> > pkgconfig part fails to find where I'm hiding the gnome headers/libs.
> > How can I tell it where the gnome files are?
> >
> > Thanks,
> > Joe
> >
>
> Generally, what I do with autoconf is
> ./configure --prefix=$HOME/mine_linux
> where $HOME/mine_linux is where I install various linux packages.
>
> But
> ruby extconf.rb --prefix=$HOME/mine-linux
> didn't work either.

Example:

% ruby extconf.rb --prefix=$HOME/mine-linux
extconf.rb: Entering directory `glib'
checking for GCC... yes
checking for rb_define_alloc_func()... yes
checking for rb_block_proc()... yes
checking for new allocation framework... yes
checking for attribute assignment... yes
checking for gobject-2.0... no
extconf.rb: Leaving directory 'glib'
extconf.rb: Entering directory `gdkpixbuf'
checking for GCC... yes
checking for rb_define_alloc_func()... yes
checking for rb_block_proc()... yes
checking for new allocation framework... yes
checking for attribute assignment... yes
checking for gdk-pixbuf-2.0... no


Joe Van Dyk

3/23/2005 10:52:00 PM

0

On Wed, 23 Mar 2005 14:44:42 -0800, Joe Van Dyk <joevandyk@gmail.com> wrote:
> On Wed, 23 Mar 2005 14:39:44 -0800, Joe Van Dyk <joevandyk@gmail.com> wrote:
> > On Wed, 23 Mar 2005 14:36:38 -0800, Joe Van Dyk <joevandyk@gmail.com> wrote:
> > > Hi,
> > >
> > > I've got my gtk headers (and ruby) installed in a subdirectory in my home dir.
> > >
> > > I'm trying to build the ruby-gnome bindings, but the (I think)
> > > pkgconfig part fails to find where I'm hiding the gnome headers/libs.
> > > How can I tell it where the gnome files are?
> > >
> > > Thanks,
> > > Joe
> > >
> >
> > Generally, what I do with autoconf is
> > ./configure --prefix=$HOME/mine_linux
> > where $HOME/mine_linux is where I install various linux packages.
> >
> > But
> > ruby extconf.rb --prefix=$HOME/mine-linux
> > didn't work either.
>
> Example:
>
> % ruby extconf.rb --prefix=$HOME/mine-linux
> extconf.rb: Entering directory `glib'
> checking for GCC... yes
> checking for rb_define_alloc_func()... yes
> checking for rb_block_proc()... yes
> checking for new allocation framework... yes
> checking for attribute assignment... yes
> checking for gobject-2.0... no
> extconf.rb: Leaving directory 'glib'
> extconf.rb: Entering directory `gdkpixbuf'
> checking for GCC... yes
> checking for rb_define_alloc_func()... yes
> checking for rb_block_proc()... yes
> checking for new allocation framework... yes
> checking for attribute assignment... yes
> checking for gdk-pixbuf-2.0... no

Oh, and LD_LIBRARY_PATH is set to $HOME/mine-linux/lib.


Masao Mutoh

3/24/2005 2:11:00 PM

0

Hi,

On Thu, 24 Mar 2005 07:36:59 +0900
Joe Van Dyk <joevandyk@gmail.com> wrote:

> Hi,
>
> I've got my gtk headers (and ruby) installed in a subdirectory in my home dir.
>
> I'm trying to build the ruby-gnome bindings, but the (I think)
> pkgconfig part fails to find where I'm hiding the gnome headers/libs.
> How can I tell it where the gnome files are?

You need to modify pkg-config files(*.pc) by hand, or re-install pkg-config
to fit your environment, I don't recommand it though.

--
:% Masao Mutoh<mutoh@highway.ne.jp>


Van Dyk, Joe

3/25/2005 4:18:00 PM

0

Masao Mutoh wrote:
> Hi,
>
> On Thu, 24 Mar 2005 07:36:59 +0900
> Joe Van Dyk <joevandyk@gmail.com> wrote:
>
>> Hi,
>>
>> I've got my gtk headers (and ruby) installed in a
>> subdirectory in my home dir.
>>
>> I'm trying to build the ruby-gnome bindings, but the (I
>> think)
>> pkgconfig part fails to find where I'm hiding the gnome
>> headers/libs.
>> How can I tell it where the gnome files are?
>
> You need to modify pkg-config files(*.pc) by hand, or
> re-install pkg-config to fit your environment, I don't
> recommand it though.

Odd. I managed to get 0.11 and 0.10 working somehow, and it didn't involve
editing pkg-config files. I thought all I did was specify the --prefix
option to extconf.rb.


Kelley Eidem

6/18/2008 3:41:00 PM

0

On Jun 18, 9:50 am, "Today's News" <rightwing...@gitmo.net> wrote:
> "MioMyo" <USA_Patr...@Somewhere.com> wrote in message
>
> news:Y296k.8685$xZ.7649@nlpi070.nbdc.sbc.com...
>
> > Prove it Senator. Also prove that domestic oil drilling won't help lower
> > gas prices either, in Alaska and in the lower 48.
>
> Any oil drilled by BushCo will go to the highest bidder (China, Japan) after
> Americans pay for the exploration and drilling and pumping and refining.
> The profits will go to Bush's needy CEOs.

Yes, I like Obama's plan to raise taxes on the oil companies - that
should lower prices...in fact, you can expect those prices to drop
like a rock when the oil companies pay higher taxes.

The oil companies pay $35 billion in taxes, which is equal to the
taxes paid by the lowest 50% of taxpayers.

Today's News

6/18/2008 10:11:00 PM

0


"Watcher of MarxoFascists and EnviroFascists" <greenmoney2008@gmail.com>
wrote in message
news:6faad7a2-e40e-4f88-947c-3437fafca14c@j22g2000hsf.googlegroups.com...
On Jun 18, 10:50 am, "Today's News" <rightwing...@gitmo.net> wrote:
> "MioMyo" <USA_Patr...@Somewhere.com> wrote in message
>
> news:Y296k.8685$xZ.7649@nlpi070.nbdc.sbc.com...
>
> > Prove it Senator. Also prove that domestic oil drilling won't help lower
> > gas prices either, in Alaska and in the lower 48.
>
> Any oil drilled by BushCo will go to the highest bidder (China, Japan)
> after
> Americans pay for the exploration and drilling and pumping and refining.
> The profits will go to Bush's needy CEOs.

>PROVE IT MORON

Prove it's NOT, Bush sucker....................


MioMyo

6/19/2008 1:02:00 AM

0


"Today's News" <rightwingers@gitmo.net> wrote in message
news:Zg96k.8693$jI5.2476@flpi148.ffdc.sbc.com...
>
> "MioMyo" <USA_Patriot@Somewhere.com> wrote in message
> news:Y296k.8685$xZ.7649@nlpi070.nbdc.sbc.com...
>> Prove it Senator. Also prove that domestic oil drilling won't help lower
>> gas prices either, in Alaska and in the lower 48.
>
> Any oil drilled by BushCo will go to the highest bidder (China, Japan)
> after Americans pay for the exploration and drilling and pumping and
> refining. The profits will go to Bush's needy CEOs.


I realize you jail-house education didn't teach you much, so I'll help.

Look up fungible commodity moron.