Re: [DVBCUT-user] DVBCUT won't compile on the Hardy Heron (Kubuntu 8.04)

2008-05-04 Thread Ralph Glasstetter
Hmmm,

the SF people changed the url some time ago, and your dvbcut copy 
seems to refer to the old one...

just delete your dvbcut folder and make a fresh checkout... if you have
no private changes you want to keep. 

If so, then there is a way to adapt the URL of your working copy,... 
unfortunately I don't remember... but I'm sure Michael does! ;-)

ciao
Ralph

Am Samstag, 3. Mai 2008 schrieb Footer:
 Hmmm, the version I'm trying to compile is:  dvbcut_0.5.4.tar.bz2
 which I extracted to a folder and did my sudo make from there.

 I've been successful installing the svn version in teh past.  Tried it
 on my current setup but I get this:

 [EMAIL PROTECTED]:~$ sudo svn co
 https://dvbcut.svn.sourceforge.net/svnroot/dvbcut/trunk dvbcut
 svn: 'dvbcut' is already a working copy for a different URL

 I'd prefer to use svn vs. compiled but I'm not sure what the problem
 is with svn or now to fix...?

 Thanks for the prompt response!

 On Sat, May 3, 2008 at 7:42 AM, Michael Riepe [EMAIL PROTECTED] wrote:
  Hi!
 
   Footer wrote:
Subject says it all!  I've installed the dependencies as listed in the
installation notes:
   
libqt3-mt-dev qt3-dev-tools scons libao-dev libmad0-dev
liba52-0.7.4-dev
 
   And you're using an ancient copy of dvbcut, as it seems. Please use the
   latest one from SVN.
 
src/playaudio.cpp: In function 'void playaudio(const void*, uint32_t,
AVCodecContext*, AVCodec*)':
 
   That function is gone since SVN revision 30, which was almost a year
  ago.
 
src/playaudio.cpp:41: error: expected primary-expression before '?'
token src/playaudio.cpp:41: error: expected `:' before ']' token
src/playaudio.cpp:41: error: expected primary-expression before ']'
token src/playaudio.cpp:44: error: 'samples' was not declared in this
scope scons: *** [src/playaudio.o] Error 1
 
   The cause of the problem is the ? (maximum) operator (a GNU
   extension) that was present in gcc 3.x but removed in gcc 4.x. You're
   supposed to use std::max now.
 
   Morale: Never use non-standard compiler features without a fallback and
   proper #ifdef...#endif constructs.
 
   --
   Michael Tired Riepe [EMAIL PROTECTED]
   X-Tired: Each morning I get up I die a little

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
one ___
 DVBCUT-user mailing list
 DVBCUT-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dvbcut-user



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] DVBCUT won't compile on the Hardy Heron (Kubuntu 8.04)

2008-05-04 Thread Michael Riepe
Hi!

Ralph Glasstetter wrote:

 just delete your dvbcut folder and make a fresh checkout... if you have
 no private changes you want to keep. 
 
 If so, then there is a way to adapt the URL of your working copy,... 
 unfortunately I don't remember... but I'm sure Michael does! ;-)

Nope. I know how to do that with CVS, but not with subversion. I think
there is a way, though.

-- 
Michael Tired Riepe [EMAIL PROTECTED]
X-Tired: Each morning I get up I die a little

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] DVBCUT won't compile on the Hardy Heron (Kubuntu 8.04)

2008-05-04 Thread Footer
Afterr studying the situation a bit closer, I deleted my old dvbcut folder
as suggested.  Then I did the svn command (which worked this time) ran the
make again, then make install and WALA, it worked.

The INSTALL instructions don't have you do make install but it seems I had
to do that to make it work.  Also, the dvbcut executable is in
/usr/local/bin on my system, not /bin as noted in the INSTALL.

Thanks for your assistance!

On Sun, May 4, 2008 at 2:12 PM, Michael Riepe [EMAIL PROTECTED] wrote:

 Hi!

 Ralph Glasstetter wrote:

  just delete your dvbcut folder and make a fresh checkout... if you have
  no private changes you want to keep.
 
  If so, then there is a way to adapt the URL of your working copy,...
  unfortunately I don't remember... but I'm sure Michael does! ;-)

 Nope. I know how to do that with CVS, but not with subversion. I think
 there is a way, though.

 --
 Michael Tired Riepe [EMAIL PROTECTED]
 X-Tired: Each morning I get up I die a little

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.

 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 DVBCUT-user mailing list
 DVBCUT-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dvbcut-user

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user