FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-06-2009, 09:01 AM
Pongracz Istvan
 
Default Cannot compile libinstrudeo 0.1.4 on ~x86

Dear guys,

After a long time, I try to use again screenkast + libinstrudeo.

Ages before I did use it but nowadays (about in the last 6 months or
more) I cannot compile libinstrudeo because there are some compiling
problem.

These packages are in the sunrise overlay.

So, I guess there is a problem between the libinstrudeo and ffmpeg
libraries.
Here is a snippet from the compile problem:

isdffmpegexporter.cpp: In member function ‘virtual void
ISDFFmpegExporter::cleanup()’:
isdffmpegexporter.cpp:208: error: cannot convert ‘ByteIOContext**’ to
‘ByteIOContext*’ for argument ‘1’ to ‘int url_fclose(ByteIOContext*)’
isdffmpegexporter.cpp: In member function ‘void
ISDFFmpegExporter::abortCleanup()’:
isdffmpegexporter.cpp:237: warning: ignoring return value of ‘int
system(const char*)’, declared with attribute warn_unused_result
distcc[28590] ERROR: compile isdffmpegexporter.cpp on localhost failed


Before I write more stupid logs etc. to here, I would like to ask does
anybody succeed to install libinstrudeo for his recent gentoo box?

~x86

Best regards,
István


--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.startit.hu
http://www.osbusiness.hu
 
Old 02-06-2009, 09:09 AM
Pongracz Istvan
 
Default Cannot compile libinstrudeo 0.1.4 on ~x86

2009. 02. 6, péntek keltezéssel 11.01-kor Pongracz Istvan ezt *rta:
> Dear guys,
>
> Here is a snippet from the compile problem:
>
> isdffmpegexporter.cpp: In member function ‘virtual void
> ISDFFmpegExporter::cleanup()’:
> isdffmpegexporter.cpp:208: error: cannot convert ‘ByteIOContext**’ to
> ‘ByteIOContext*’ for argument ‘1’ to ‘int url_fclose(ByteIOContext*)’
> isdffmpegexporter.cpp: In member function ‘void
> ISDFFmpegExporter::abortCleanup()’:
> isdffmpegexporter.cpp:237: warning: ignoring return value of ‘int
> system(const char*)’, declared with attribute warn_unused_result
> distcc[28590] ERROR: compile isdffmpegexporter.cpp on localhost failed
>

Ok, this was the easy part. I deleted the & at the code, but new compile
problem appears.

Does anybody knows, how to compile this stuff without rewrite all the
sourcecode?

Cheers,
István
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.startit.hu
http://www.osbusiness.hu
 
Old 02-07-2009, 02:21 AM
Andrs Becerra Sandoval
 
Default Cannot compile libinstrudeo 0.1.4 on ~x86

On Fri, Feb 6, 2009 at 5:09 AM, Pongracz Istvan
<pongracz.istvan@gmail.com> wrote:
> 2009. 02. 6, pntek keltezssel 11.01-kor Pongracz Istvan ezt rta:
>> Dear guys,
>>
>> Here is a snippet from the compile problem:
>>
>> isdffmpegexporter.cpp: In member function 'virtual void
>> ISDFFmpegExporter::cleanup()':
>> isdffmpegexporter.cpp:208: error: cannot convert 'ByteIOContext**' to
>> 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)'
>> isdffmpegexporter.cpp: In member function 'void
>> ISDFFmpegExporter::abortCleanup()':
>> isdffmpegexporter.cpp:237: warning: ignoring return value of 'int
>> system(const char*)', declared with attribute warn_unused_result
>> distcc[28590] ERROR: compile isdffmpegexporter.cpp on localhost failed
>>
>
> Ok, this was the easy part. I deleted the & at the code, but new compile
> problem appears.
>
> Does anybody knows, how to compile this stuff without rewrite all the
> sourcecode?
>
> Cheers,
> Istvn
> --
> BSA. Mert megrdemlitek.
> Open Source. Mert megrdemlem.
> --
> BSA. They value it.
> Open Source. The value. It.
> --
> http://www.startit.hu
> http://www.osbusiness.hu
>
>
>


Does this bug report is of any help?

http://bugs.gentoo.org/show_bug.cgi?id=139855

--
Andrs
 
Old 02-07-2009, 11:12 AM
Pongracz Istvan
 
Default Cannot compile libinstrudeo 0.1.4 on ~x86

Does this bug report is of any help?



http://bugs.gentoo.org/show_bug.cgi?id=139855



--

*Andrs




Hi Andrs,

Thank you, I missed this bugreport.
Anyway, I fixed the compiler issue by modifying the code a little bit:
The first problem caused by an additional reference operator (&).

The remaining problems caused by that, some .cpp didn't contain the string.h header file.
And finally, there was a HAVE_FFMPEG_AVUTIL_H or similar contant, which I had to delete to avoid using postprocessing library, which does not exists.


So, I fixed these issues, I repacked libinstrudeo-1.1.4.tar.gz, regenerate the manifest and used emerge to compile the lib.
It is ok now.

I will try to make a summary about the modifications and send to the bugtracker.


My next problem is to compile screenkast itself
Now I am installing the complete kde 4.2.0 (metapackage), even I will never use it to get screenkast working.
The compiling process failed because there are lot of QT missing things.

Ok, this didn't help. After I installed kde 4.2.0 it still has problems............

At this moment that is all.

Cheers,
Istvn
 
Old 02-07-2009, 11:51 AM
Pongracz Istvan
 
Default Cannot compile libinstrudeo 0.1.4 on ~x86

2009/2/7 Pongracz Istvan <pongracz.istvan@gmail.com>

Does this bug report is of any help?



http://bugs.gentoo.org/show_bug.cgi?id=139855



--

*Andrs




I updated that bugreport.
Cheers,
IStvn
 

Thread Tools




All times are GMT. The time now is 09:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org