[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

How can I get you to use mkrf?

Kevin Clark

8/22/2006 8:30:00 PM

Hi guys,
Google's Summer of Code has officially come to a close but I in no way
plan to abandon my project. It's in a fairly stable place and working
for the libraries that I've played with. That being said, I don't
think many are using the project. mkmf is old, and though it is ugly,
I expect people are comfortable with it.

What can I do to help you make a switch? What feature does mkmf have
that you -need- for your extension? How can I make this easier?

Finally, speak up if you're already using mkrf or have played with it.
I'm happy to hear criticism.

I hope this thread can give me a list of things to work on as I try to
move the project along.

--
Kevin Clark
http://gl...

22 Answers

Farrel Lifson

8/22/2006 8:36:00 PM

0

On 22/08/06, Kevin Clark <kevin.clark@gmail.com> wrote:
> Hi guys,
> Google's Summer of Code has officially come to a close but I in no way
> plan to abandon my project. It's in a fairly stable place and working
> for the libraries that I've played with. That being said, I don't
> think many are using the project. mkmf is old, and though it is ugly,
> I expect people are comfortable with it.
>
> What can I do to help you make a switch? What feature does mkmf have
> that you -need- for your extension? How can I make this easier?
>
> Finally, speak up if you're already using mkrf or have played with it.
> I'm happy to hear criticism.
>
> I hope this thread can give me a list of things to work on as I try to
> move the project along.
>
> --
> Kevin Clark
> http://gl...
>
>

Is it a replacement for a tool like rake? If not how easy would it be
to use/integrate with rake?

Farrel

Robin Stocker

8/22/2006 9:05:00 PM

0

Kevin Clark wrote:
> What can I do to help you make a switch? What feature does mkmf have
> that you -need- for your extension? How can I make this easier?

Hi,

I tried it, but it doesn't work with my C++ extension. Though I can
specify '*.cxx' with Mkrf::Generator.new, the resulting Rakefile has no
rule for .cxx and so the rake command just says:

Don't know how to build task 'id3lib_api_wrap.o'

When I manually change '.c' to '.cxx' in the Rakefile, everything works
alright.

This is obviously a "feature" I need ;)

Robin Stocker

Tim Hunter

8/22/2006 9:39:00 PM

0

Kevin Clark wrote:
> Hi guys,
> Google's Summer of Code has officially come to a close but I in no way
> plan to abandon my project. It's in a fairly stable place and working
> for the libraries that I've played with. That being said, I don't
> think many are using the project. mkmf is old, and though it is ugly,
> I expect people are comfortable with it.
>
> What can I do to help you make a switch? What feature does mkmf have
> that you -need- for your extension? How can I make this easier?
>
> Finally, speak up if you're already using mkrf or have played with it.
> I'm happy to hear criticism.
>
> I hope this thread can give me a list of things to work on as I try to
> move the project along.
>

Were you able to add the features I described in my RubyForge forum post?

http://rubyforge.org/forum/forum.php?thread_id=7096&for...

Kevin Clark

8/22/2006 9:45:00 PM

0

Hi Tim,
Thought it'd be hacky, you can add to vars using the new
additional_code accessor (same with the header flags). I'm not really
satisfied with that either though, so I'm going to be investigating
implementing those features for the next release. You'll -definitely-
have a better way to access LDFLAGS and friends.

Kev

On 8/22/06, Timothy Hunter <TimHunter@nc.rr.com> wrote:
> Kevin Clark wrote:
> > Hi guys,
> > Google's Summer of Code has officially come to a close but I in no way
> > plan to abandon my project. It's in a fairly stable place and working
> > for the libraries that I've played with. That being said, I don't
> > think many are using the project. mkmf is old, and though it is ugly,
> > I expect people are comfortable with it.
> >
> > What can I do to help you make a switch? What feature does mkmf have
> > that you -need- for your extension? How can I make this easier?
> >
> > Finally, speak up if you're already using mkrf or have played with it.
> > I'm happy to hear criticism.
> >
> > I hope this thread can give me a list of things to work on as I try to
> > move the project along.
> >
>
> Were you able to add the features I described in my RubyForge forum post?
>
> http://rubyforge.org/forum/forum.php?thread_id=7096&for...
>
>


--
Kevin Clark
http://gl...

Kevin Clark

8/22/2006 9:47:00 PM

0

Robin,
I'll look into that today and keep you updated.

Kev

On 8/22/06, Robin Stocker <robin@nibor.org> wrote:
> Kevin Clark wrote:
> > What can I do to help you make a switch? What feature does mkmf have
> > that you -need- for your extension? How can I make this easier?
>
> Hi,
>
> I tried it, but it doesn't work with my C++ extension. Though I can
> specify '*.cxx' with Mkrf::Generator.new, the resulting Rakefile has no
> rule for .cxx and so the rake command just says:
>
> Don't know how to build task 'id3lib_api_wrap.o'
>
> When I manually change '.c' to '.cxx' in the Rakefile, everything works
> alright.
>
> This is obviously a "feature" I need ;)
>
> Robin Stocker
>
>


--
Kevin Clark
http://gl...

Kevin Clark

8/22/2006 9:47:00 PM

0

Farrel,
mkrf is for building Rakefiles to build extensions to Ruby. It uses
rake, but isn't a replacement for it. It aims to replace mkmf.

Kev

On 8/22/06, Farrel Lifson <farrel.lifson@gmail.com> wrote:
> On 22/08/06, Kevin Clark <kevin.clark@gmail.com> wrote:
> > Hi guys,
> > Google's Summer of Code has officially come to a close but I in no way
> > plan to abandon my project. It's in a fairly stable place and working
> > for the libraries that I've played with. That being said, I don't
> > think many are using the project. mkmf is old, and though it is ugly,
> > I expect people are comfortable with it.
> >
> > What can I do to help you make a switch? What feature does mkmf have
> > that you -need- for your extension? How can I make this easier?
> >
> > Finally, speak up if you're already using mkrf or have played with it.
> > I'm happy to hear criticism.
> >
> > I hope this thread can give me a list of things to work on as I try to
> > move the project along.
> >
> > --
> > Kevin Clark
> > http://gl...
> >
> >
>
> Is it a replacement for a tool like rake? If not how easy would it be
> to use/integrate with rake?
>
> Farrel
>
>


--
Kevin Clark
http://gl...

Tim Hunter

8/22/2006 9:51:00 PM

0

Kevin Clark wrote:
> Hi Tim,
> Thought it'd be hacky, you can add to vars using the new
> .additional_code accessor (same with the header flags). I'm not really
> satisfied with that either though, so I'm going to be investigating
> implementing those features for the next release. You'll -definitely-
> have a better way to access LDFLAGS and friends.
>
> Kev
>
> On 8/22/06, Timothy Hunter <TimHunter@nc.rr.com> wrote:
>> Kevin Clark wrote:
>> > Hi guys,
>> > Google's Summer of Code has officially come to a close but I in no way
>> > plan to abandon my project. It's in a fairly stable place and working
>> > for the libraries that I've played with. That being said, I don't
>> > think many are using the project. mkmf is old, and though it is ugly,
>> > I expect people are comfortable with it.
>> >
>> > What can I do to help you make a switch? What feature does mkmf have
>> > that you -need- for your extension? How can I make this easier?
>> >
>> > Finally, speak up if you're already using mkrf or have played with it.
>> > I'm happy to hear criticism.
>> >
>> > I hope this thread can give me a list of things to work on as I try to
>> > move the project along.
>> >
>>
>> Were you able to add the features I described in my RubyForge forum
>> post?
>>
>> http://rubyforge.org/forum/forum.php?thread_id=7096&for...
>>
>>
>
>
Thanks for responding, Kevin. How about creating a "config.h" file for
the 100+ feature test preprocessor symbols?

Kevin Clark

8/22/2006 10:00:00 PM

0

> Thanks for responding, Kevin. How about creating a "config.h" file for
> the 100+ feature test preprocessor symbols?

Something like that may work. An optional .h file would fix your
issues certainly. I'll see what makes sense in the code.

--
Kevin Clark
http://gl...

jmg3000

8/22/2006 10:00:00 PM

0

On 8/22/06, Kevin Clark <kevin.clark@gmail.com> wrote:
> Hi guys,
> Google's Summer of Code has officially come to a close but I in no way
> plan to abandon my project.

Great. :)

> It's in a fairly stable place and working
> for the libraries that I've played with. That being said, I don't
> think many are using the project. mkmf is old, and though it is ugly,
> I expect people are comfortable with it.
>
> What can I do to help you make a switch? What feature does mkmf have
> that you -need- for your extension? How can I make this easier?
>
> [snip]
> I hope this thread can give me a list of things to work on as I try to
> move the project along.

Well, you might make use of rubyforge to set up a mailing list. Then,
after some archives accrete and you have a better idea of what users
want/need, maybe get a tutorial together. That's what I'd like to see.
Also, a basic homepage (even if you just put the README up there)
would be nice.

I'm hoping to use mkrf in the next couple of weeks, but still need to
learn my way around a bit better.

---John

Kevin Clark

8/22/2006 10:28:00 PM

0

John,
I setup a mailing list at rubyforge just a moment ago. I'll send an
announcment to ruby-talk when it's up and ready to go.

I'll try to get a basic homepage up this week.


On 8/22/06, John Gabriele <jmg3000@gmail.com> wrote:
> On 8/22/06, Kevin Clark <kevin.clark@gmail.com> wrote:
> > Hi guys,
> > Google's Summer of Code has officially come to a close but I in no way
> > plan to abandon my project.
>
> Great. :)
>
> > It's in a fairly stable place and working
> > for the libraries that I've played with. That being said, I don't
> > think many are using the project. mkmf is old, and though it is ugly,
> > I expect people are comfortable with it.
> >
> > What can I do to help you make a switch? What feature does mkmf have
> > that you -need- for your extension? How can I make this easier?
> >
> > [snip]
> > I hope this thread can give me a list of things to work on as I try to
> > move the project along.
>
> Well, you might make use of rubyforge to set up a mailing list. Then,
> after some archives accrete and you have a better idea of what users
> want/need, maybe get a tutorial together. That's what I'd like to see.
> Also, a basic homepage (even if you just put the README up there)
> would be nice.
>
> I'm hoping to use mkrf in the next couple of weeks, but still need to
> learn my way around a bit better.
>
> ---John
>
>


--
Kevin Clark
http://gl...