Re: Compiling gift 0.1.14 on gentoo error

Kamil Wencel <[email protected]>
Newsgroups gmane.comp.gnu.gift.general
Organization RADION
Message-ID <[email protected]>
Hi Jonas, thanks again.

Jonas Lindqvist schrieb:
> Okay, first cd to where you want the source.
> 
> Then, depending on your cvs version, you may need to "login" to the cvs 
> server first:
> cvs -z3 -d:pserver:[email protected] 
> <mailto:[email protected]>:/sources/gift login
> just hit enter to give an empty password.
> 
> But you might not need to do that. It happens every once in a while...
> 
> Then, checking out the source:
> cvs -z3 -d:pserver:[email protected] 
> <mailto:[email protected]>:/sources/gift co gift

After I installed cvs half an hour ago I figured the trailing "gift" as 
module name out myself. CVS told me I had to add a module name or PATH,
where I could easily guess it had to be "gift".

> But, there is no configure-script in the cvs version, so:
> cd gift
> source bootstrap-cvs.sh

right ;) thank you for that hint because I was stunned not to find the 
./configure - but luckily I stumbled over boostrap myself.

> ./configure --prefix=...
> make
> 

Runs smooth like a kitten. Make exited successfully. Now I will have 
weeks of fun configuring and learning about gift and how I can possibly 
implement it into my already existent infrastructure ( if possible at all )

> 
> If you later on see on the mailinglist that someone has committed some 
> really neat features to the cvs repository, type:
> cvs update
> 
> to get the latest version. 

That is a very good hint. I probably would have checked it out over and 
over again.

> 
> 
> 
> Hope it works!

Yes it did, and only after one night's sleep. Mailing to the list and 
having the problem solved therefore only took two hours of my conscious 
lifetime.


While I am at it:

Are there any pitfalls regarding the configuration of the gift when it 
comes to php clients ? How should a recommended config file look like if 
I want to search images with say php_gift to start with ?


Jonas, your help is very much appreciated. Thanks a lot, dude ;)

> 
> 
> /Jonas
> 
>  
> 22 aug 2006 kl. 07.13 skrev Kamil Wencel:
> 
>> Hi Jonas,
>>
>> thank you very much for your quick reply. I suspected I would be better
>> of with cvs, but the docs don't tell how to get the sources. I am not
>> used to cvs and the savannah hp is talking about modules I don't know.
>>
>> So how do I check this out ?
>>
>> cvs -z3 -d:pserver:[email protected] 
>> <mailto:[email protected]>:/sources/gift co <modulename> ??
>>
>> thanks a lot,
>>
>> Kamil
>>
>>
>> Jonas Lindqvist schrieb:
>>> Someone else (more official person) will no doubt answer as well, but:
>>> I think that's the buggy version.
>>> You can fix it by removing the "CAccessor::" part of "virtual 
>>> std::pair<bool, TID> CAccessor::URLToID(const std::string&) const" in 
>>> the .cc file (not the .h).
>>> I think you'll have to fix similar bugs in maybe 10 places before 
>>> you're done.
>>> OR.
>>> Get the CVS version. It's fixed there.
>>> /Jonas
>>> 21 aug 2006 kl. 22:50 skrev Kamil Wencel:
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.