Avidemux Forum

Avidemux => Stable branch (2.5) discussion => Topic started by: ClemD on July 04, 2013, 11:39:05 AM

Title: SVN compilation problem
Post by: ClemD on July 04, 2013, 11:39:05 AM
Hi there,

As you may know (see my Source Code topic) I have to code a video edition software and my purpose is to start from avidemux in order to do that.

So, I'd like to compile the source code (version 2.5.6) to get an executable and test the code.

Here (http://www.avidemux.org/admWiki/doku.php?id=build:compiling_avidemux#microsoft_windows) is the link that explains what I should do.

I got some problem with the following step :

QuoteDownloading source code from SVN

The source code for Avidemux and some of its dependencies must be downloaded from subversion repositories. TortoiseSVN supports all subversion protocols. Follow these steps to download code from an SVN URL:

    Open Windows Explorer and click on the C: drive with the right mouse button.
    Choose SVN Checkout from the popup menu.
    Enter the URL of repository, e.g. svn://svn.berlios.de/avidemux/branches/avidemux_2.3_branch/.
    Enter a Checkout directory, e.g. c:\Dev\avidemux.
    Click OK to download the source code.


I tried every url that I could imagine, svn://svn.berlios.de/avidemux/branches/avidemux_2.5_branchgruntster/, svn://svn.berlios.de/avidemux/tags/avidemux_2.5.6/, even with svn://svn.berlios.de/avidemux/branches/avidemux_2.3_branch/ or something like "http://svn.berlios.de/wsvn/avidemux/tags/avidemux_2.5.6/?#ab1ebbce27e9372896c732d096b66411c". Nothing worked, connection seems impossible.

How could I solve this problem ?

Looking forward to hearing from you !

ALl the best,

ClemD
Title: Re: SVN compilation problem
Post by: Jan Gruuthuse on July 04, 2013, 11:59:37 AM
This one should work: (did on unbuntu)
1st time:
svn co svn://svn.berlios.de/avidemux/branches/avidemux_2.5_branch_gruntster/
update:
change into folder and
svn update

Perhaps this sheds some more light on svn, look for turn our attention to the client.: Setting up Subversion on Windows (http://www.codinghorror.com/blog/2008/04/setting-up-subversion-on-windows.html)
Title: Re: SVN compilation problem
Post by: ClemD on July 04, 2013, 12:27:19 PM
Thank you for helping :)

Quote from: Jan Gruuthuse on July 04, 2013, 11:59:37 AM
This one should work: (did on unbuntu)
1st time:
svn co svn://svn.berlios.de/avidemux/branches/avidemux_2.5_branch_gruntster/
update:
change into folder and
svn update

Perhaps this sheds some more light on svn, look for turn our attention to the client.: Setting up Subversion on Windows (http://www.codinghorror.com/blog/2008/04/setting-up-subversion-on-windows.html)

Where should I write "svn co" or "svn update" ? I can't write it just before the url address... cause what I'm asked to write is only a url address  :-\
Title: Re: SVN compilation problem
Post by: Jan Gruuthuse on July 04, 2013, 12:46:25 PM
svn co is linux command line instruction (checkout)
for windows use:
svn://svn.berlios.de/avidemux/branches/avidemux_2.5_branch_gruntster/ as shown here:
(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fcodinghorror.typepad.com%2F.a%2F6a0120a85dcdae970b0120a86dd495970b-pi&hash=216a845a565b9fbaefdd1a8198f11ef04933d1f9)
Title: Re: SVN compilation problem
Post by: ClemD on July 04, 2013, 01:30:59 PM
Quote from: Jan Gruuthuse on July 04, 2013, 12:46:25 PM
svn co is linux command line instruction (checkout)
for windows use:
svn://svn.berlios.de/avidemux/branches/avidemux_2.5_branch_gruntster/ as shown here:
(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fcodinghorror.typepad.com%2F.a%2F6a0120a85dcdae970b0120a86dd495970b-pi&hash=216a845a565b9fbaefdd1a8198f11ef04933d1f9)

Then it's exactly what I did... and I can ensure you it fails :'(

Title: Re: SVN compilation problem
Post by: Jan Gruuthuse on July 04, 2013, 02:18:46 PM
Probably similar issue as here?
http://stackoverflow.com/questions/111543/tortoisesvn-error-options-of-https-could-not-connect-to-server.
Title: Re: SVN compilation problem
Post by: Jan Gruuthuse on July 04, 2013, 02:25:57 PM
download 2.5.6 source 2.5.6 (tar.gz) from here: http://fixounet.free.fr/avidemux/download.html unpack with 7zip (http://www.7-zip.org/)
Title: Re: SVN compilation problem
Post by: ClemD on July 04, 2013, 02:29:58 PM
Quote from: Jan Gruuthuse on July 04, 2013, 02:18:46 PM
Probably similar issue as here?
http://stackoverflow.com/questions/111543/tortoisesvn-error-options-of-https-could-not-connect-to-server.

Oh I'm sorry. I thought I had to translate the french part but I forgot : it basically says it's a timeout.

Maybe it's a similar issue, I'll read attentively. Thanks !
Title: Re: SVN compilation problem
Post by: ClemD on July 04, 2013, 02:36:01 PM
Quote from: Jan Gruuthuse on July 04, 2013, 02:25:57 PM
download 2.5.6 source 2.5.6 (tar.gz) from here: http://fixounet.free.fr/avidemux/download.html unpack with 7zip (http://www.7-zip.org/)

Well, in fact I already have source code, it's easy to get it here (http://developer.berlios.de/project/showfiles.php?group_id=1402), the link is given in the general compilation instructions paragraph from the wiki article.

I really find this tutorial hard to understand, as I'm not used at all to compile a whole software.

May I skip the part that causes problem ?
Title: Re: SVN compilation problem
Post by: Jan Gruuthuse on July 04, 2013, 03:27:58 PM
svn part is only needed to download the source in your case. Unfortunately I'm not much help to you as I don't have windows, nor am I a developer. Just a user that build package provided by developers.
Title: Re: SVN compilation problem
Post by: ClemD on July 05, 2013, 06:59:29 AM
Quote from: Jan Gruuthuse on July 04, 2013, 03:27:58 PMUnfortunately I'm not much help to you

Don't apology, you already helped me ;)

Thank you ! I'll see what I can do :)
Title: Re: SVN compilation problem
Post by: ClemD on July 10, 2013, 02:50:05 PM
Hi there,

I still have some problem using MinGW on windows with the Avidemux dependencies/Install Dependencies/SpiderMonkey/Using MinGW/h

There is indeed no gcc.exe file, from where should that file come ?

Thank you for helping :)
Title: Re: SVN compilation problem
Post by: Jan Gruuthuse on July 10, 2013, 03:52:53 PM
http://www.mingw.org/wiki/Getting_Started
Title: Re: SVN compilation problem
Post by: mit on July 10, 2013, 04:49:33 PM
Quote from: ClemD on July 10, 2013, 02:50:05 PM
Hi there,

I still have some problem using MinGW on windows .....................................................
Stiil using Windows, stiil have problems...  :P

Sorry, but i could not hold back!  ;D
Title: Re: SVN compilation problem
Post by: ClemD on July 11, 2013, 06:57:07 AM
Quote from: Jan Gruuthuse on July 10, 2013, 03:52:53 PM
http://www.mingw.org/wiki/Getting_Started

Thank you Jan, I'll read it right now and I'll see what I can do ;)

Quote from: mit on July 10, 2013, 04:49:33 PM
Stiil using Windows, stiil have problems...  :P

Sorry, but i could not hold back!  ;D

;D ;D ;D

I really don't mind, I'm not a windows user for personal life and I have understood that developing on windows (and not linux) is a bad bad thing :P
Title: Re: SVN compilation problem
Post by: ClemD on July 11, 2013, 08:00:47 AM
Quote from: ClemD on July 11, 2013, 06:57:07 AM
Quote from: Jan Gruuthuse on July 10, 2013, 03:52:53 PM
http://www.mingw.org/wiki/Getting_Started

Thank you Jan, I'll read it right now and I'll see what I can do ;)

It seems it is a different way of installing MinGW, using mingw-get-inst instead of downloading each specific package as in the Avidemux article.

If I'm right, I'd like not to mix two methods, because I fear my files would become a mess :-\

The wiki article is unclear about something that is important, step Microsoft Windows/Build environment/Install build environment/MinGW. I quote :

QuoteExtract the contents of each MinGW tarball (binutils, gcc-core, gcc-g++, mingw-runtime, mingw-utils, w32api) to a folder on your hard-drive, e.g. C:\Dev\MinGW.

How should we organize the contents of each MinGW tarball inside the C:\Dev\MinGW ? Because later (step Microsoft Windows/Avidemux dependencies/Install dependencies/Expat) it talks about the MinGW bin folder, without even mentioning its existence, what it should include, etc, before ! :(
Title: Re: SVN compilation problem
Post by: mit on July 11, 2013, 08:25:49 AM
Quote from: ClemD on July 11, 2013, 06:57:07 AM
...

;D ;D ;D

I really don't mind, I'm not a windows user for personal life and I have understood that developing on windows (and not linux) is a bad bad thing :P
I'm glad.I remember its required by your internship, but unfortunately i cant help you.
Perhaps you can find something usefully here (http://opensourcepack.blogspot.com/2012/01/spidermonkey-185-mingw.html)
Title: Re: SVN compilation problem
Post by: ClemD on July 11, 2013, 08:50:50 AM
Quote from: mit on July 11, 2013, 08:25:49 AM
Perhaps you can find something usefully here (http://opensourcepack.blogspot.com/2012/01/spidermonkey-185-mingw.html)

I'm not sure... I really think the problem lies in the C:\Dev\MinGW file organization

QuoteI remember its required by your internship, but unfortunately i cant help you.

It's ok ;)

I've asked mean some help through PM, usually he's nice with me (I mean, mean isn't mean :P ).

About windows as a requirement, I might have an opportunity to install it, but it would only be if I'm really, really stuck on windows. So I'm doing my best to stay on windows, but if I fail (not yet :P ), I'll see if I can install Ubuntu.

Title: Re: SVN compilation problem
Post by: Jan Gruuthuse on July 11, 2013, 09:22:14 AM
Quote from: ClemD on July 11, 2013, 08:50:50 AM
I've asked mean some help through PM, usually he's nice with me (I mean, mean isn't mean :P ).
Mean is always nice. Most chance to get replies is posting within this forum, mainly due to lack of time pm gets overlooked/disregarded ...
The wiki may be somewhat dated (2.5.4 mostly)
If no reply from mean stating otherwise: would try installing a working MinGW: these should have installed the exe files. bin may also be exe.
When MinGw is working then follow up with avidemux needed stuff. There should be some documentation within the avidemux source to crosscheck on needed packages.
Title: Re: SVN compilation problem
Post by: ClemD on July 11, 2013, 09:39:31 AM
Quote from: Jan Gruuthuse on July 11, 2013, 09:22:14 AM
Quote from: ClemD on July 11, 2013, 08:50:50 AM
I've asked mean some help through PM, usually he's nice with me (I mean, mean isn't mean :P ).
Mean is always nice.

Yes, I wasn't suggesting the opposite ;)

QuoteIf no reply from mean stating otherwise: would try installing a working MinGW: these should have installed the exe files.

Ok, I'll see :)
Title: Re: SVN compilation problem
Post by: ClemD on July 29, 2013, 11:37:04 AM
Hi there ! Hope you're getting well :)


It's been a couple of weeks since I posted last time, and few things happened since.


I managed to get a computer working on Linux, but unfortunately I couldn't choose the distribution, so I'm now on CentOS.

As there is no tutorial about compiling avidemux on CentOS (nearest is probably fedora), I got some help from IT to install dependencies.

But I still have problems, compilation process fails at about 93%.


Here is what the system says :


LD   libavutil/libADM5avutil.so.51
LD   libavcodec/libADM5avcodec.so.53
/usr/bin/ld: cannot find -lavutil
collect2: ld returned 1 exit status
gmake[3]: *** [libavcodec/libADM5avcodec.so.53] Error 1



Indeed, there is no libADM5avcodec file into libavcodec directory. But there is a libavcodec.v file. Same thing with
libavutil.


I also get a problem after :

*** No rule to make target `avidemux/ADM_libraries/ffmpeg/libswscale/libADM5swscale.so.2', needed by `avidemux/ADM_coreImage/src/libADM_coreImage.so'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 93%] Building CXX object avidemux/ADM_coreImage/src/CMakeFiles/ADM_coreImage.dir/DIA_flyDialog.cpp.o
make[1]: *** [avidemux/ADM_coreImage/src/CMakeFiles/ADM_coreImage.dir/all] Error 2
make: *** [all] Error 2
*** fail make_main ***

Exactly same thing : no libADM5swscale file but a libswscale.v one.

Do I have to change the name of the files ? Is it that simple ?


Looking forward to hearing from you :)

All the best

ClemD

PS : I attach the system answer to the whole process of compilation for those who want more information
Title: Re: SVN compilation problem
Post by: mean on July 29, 2013, 11:48:25 AM
It's something specific to centos/fedora
There is thread about that in the forum
(if you are lucky mit will swing by, he know these problems)

If you can, the easiest is to use debian or ubuntu. It's really painless.
Title: Re: SVN compilation problem
Post by: ClemD on July 29, 2013, 12:08:58 PM
Quote from: mean on July 29, 2013, 11:48:25 AM
It's something specific to centos/fedora
There is thread about that in the forum
(if you are lucky mit will swing by, he know these problems)

Great ! =D

Quote
If you can, the easiest is to use debian or ubuntu. It's really painless.

Well...  ;D ;D ;D

I installed Ubuntu 3 weeks ago, but this is absolutely against company policy (you know, standard and all). So my boss asked me to remove it, and I must admit I epic failed. I don't know exactly what happened but grub could not reach files, so I couldn't boot neither Ubuntu nor Windows. The IT changed the computer (yeah, I know, it could have been saved but I guess IT was lazy ?). My coworkers are still laughing about it :P

That's why I think you'll understand why I won't try again, won't you ? ;D
Title: Re: SVN compilation problem
Post by: mean on July 29, 2013, 12:32:32 PM
you could run ubuntu inside virtualbox
Will be a bit slow, but that would not break company policy
Title: Re: SVN compilation problem
Post by: ClemD on July 29, 2013, 12:43:39 PM
Quote from: mean on July 29, 2013, 12:32:32 PM
you could run ubuntu inside virtualbox
Will be a bit slow, but that would not break company policy

Too slow... last year I had an internship in which my chief installed a virtualbox and ran ubuntu inside ; he had to install it an other way, it really was too slow.

Windows xp is so slow alone, I wouldn't imagine it running ubuntu :o

If I was alone, I guess I wouldn't have tried to uninstall Ubuntu, cause it was working fine until then ;D

(except that I hadn't the Internet on it - proxy stuff and all)
Title: Re: SVN compilation problem
Post by: mit on July 29, 2013, 12:53:00 PM
Hey, welcome back!  ;)
Quote from: mean...if you are lucky mit will swing by...
If this can be called luck, probably you'r realy lacky, bacause after couple of test, i just serender and i've stoped Avidemux tests few days ago.But now i'm testing my new installed browser QupZilla (by the way i'm very glad) and i decided to  swing by.
Quote from: ClemD... I couldn't choose the distribution, so I'm now on CentOS.
You no need to choose distribution.You already have the best one.  ;D Otherwise when meant mentioned above, i've recommended Debian
I can tell what you need to compile successfully on CentOS if you want
P.S This had to be posted before your few posts, but whit my English this is not possible!
Title: Re: SVN compilation problem
Post by: ClemD on July 29, 2013, 01:01:50 PM
Quote from: mit on July 29, 2013, 12:53:00 PM
I can tell what you need to compile successfully on CentOS if you want

You can't imagine how much I'd like to go on into my internship, it's been weeks since I feel like I'm stuck.

Quote
P.S This had to be posted before your few posts, but whit my English this is not possible!

In which language would you prefer to help me ? :)
Title: Re: SVN compilation problem
Post by: mit on July 29, 2013, 01:24:08 PM
Quote from: ClemD on July 29, 2013, 01:01:50 PM
In which language would you prefer to help me ? :)
O no, i meant i'm write slowly and lag with posts when have i realtime discussion  :-\
As i see you trying to compile 2.5 version, so i i will tell you which dependencies is needed by this version. (bit later)
Title: Re: SVN compilation problem
Post by: ClemD on July 29, 2013, 01:41:35 PM
Quote from: mit on July 29, 2013, 01:24:08 PM
O no, i meant i'm write slowly and lag with posts when have i realtime discussion  :-\

Oh, ok, alright then, don't worry ;)

Quote
As i see you trying to compile 2.5 version, so i i will tell you which dependencies is needed by this version. (bit later)

Great =D

This is so nice ! I tried several forums and here is the only one where I found some help. Thank you all, sincerely =)
Title: Re: SVN compilation problem
Post by: mit on July 29, 2013, 01:46:56 PM
First run that:
Code (just copy paste and hit return) Select

sudo yum groupinstall "Development tools"


Then:
Code (just copy paste and hit return) Select

sudo yum install  cmake  gettext-devel intltool  libxslt  yasm-devel  libxml2-devel fontconfig-devel  freetype-devel  js-devel  libXv-devel  libXmu-devel  libsamplerate-devel  jack-audio-connection-kit-devel  libass-devel  alsa-lib-devel   pulseaudio-libs-devel  SDL-devel a52dec-devel  faac-devel  faad2-devel  lame-devel  libmad-devel  libogg-devel  libvorbis-devel  libdca-devel  opencore-amr-devel  libvpx-devel  twolame-devel  xvidcore-devel  x264-devel  ffmpeg-devel mjpegtools-devel gtk2-devel cairo-devel qt4-devel

and tell me if report some packages are not avalable (the names of the packages or all terminall content)
Title: Re: SVN compilation problem
Post by: ClemD on July 29, 2013, 02:07:29 PM
Quote from: mit on July 29, 2013, 01:46:56 PM
First run that:
Code (just copy paste and hit return) Select

sudo yum groupinstall "Development tools"


Then:
Code (just copy paste and hit return) Select

sudo yum install  cmake  gettext-devel intltool  libxslt  yasm-devel  libxml2-devel fontconfig-devel  freetype-devel  js-devel  libXv-devel  libXmu-devel  libsamplerate-devel  jack-audio-connection-kit-devel  libass-devel  alsa-lib-devel   pulseaudio-libs-devel  SDL-devel a52dec-devel  faac-devel  faad2-devel  lame-devel  libmad-devel  libogg-devel  libvorbis-devel  libdca-devel  opencore-amr-devel  libvpx-devel  twolame-devel  xvidcore-devel  x264-devel  ffmpeg-devel mjpegtools-devel gtk2-devel cairo-devel qt4-devel

and tell me if report some packages are not avalable (the names of the packages or all terminall content)

First command runs great ; the second one makes problem : it seems I get none of the packages I had to install (the system tries all the mirrors but fails).

I give you the result of the command ; the list of non-installed packages is at the end ;)

PS : I have some problem with my keyboard touch "t" and neighbours (y for instance). So if you see "i" it may be "it", same with "he/the" and so on. I'm really sorry about that and I correct every mistake as soon as I see them !
Title: Re: SVN compilation problem
Post by: mit on July 29, 2013, 03:13:45 PM
This looks like a proxy or connection issue, but just try again like that:
Quotesudo yum --disableplugin=fastestmirror install jack-audio-connection-kit-devel a52dec-devel  faac-devel  faad2-devel  lame-devel  libmad-devel  libogg-devel  libvorbis-devel  opencore-amr-devel twolame-devel xvidcore-devel libx264-devel  ffmpeg-libs-devel \
libxslt  js-devel libXmu-devel  libsamplerate-devel    libass-devel   pulseaudio-libs-devel  gtk2-devel qt4-devel
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 07:04:23 AM
Quote from: mit on July 29, 2013, 03:13:45 PM
This looks like a proxy or connection issue, but just try again like that:
Quotesudo yum --disableplugin=fastestmirror install jack-audio-connection-kit-devel a52dec-devel  faac-devel  faad2-devel  lame-devel  libmad-devel  libogg-devel  libvorbis-devel  opencore-amr-devel twolame-devel xvidcore-devel libx264-devel  ffmpeg-libs-devel \
libxslt  js-devel libXmu-devel  libsamplerate-devel    libass-devel   pulseaudio-libs-devel  gtk2-devel qt4-devel

Before I try, I'd like to forward you some piece of information I got from IT :

OS : CentOS 6.3
Architecture : Intel x64

- Several packages are already installed, so I should be very careful with versions

- There is a proxy which forbid access to CentOS mirrors, so that I have to download each package and its dependencies to install packages one by one.

=> Do you want me to list the packages I already have ? IT told me to use "yum list" command :)

Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 07:35:12 AM
The attached file said all. You needs package from my (last post some of them is not mandatory; packages after backslash are from main repositories, the others are from linuxtech),but you can't install them manually, because everyone have its own dependencies.
Here is what said your file:
Quote from: Transaction SummaryInstall      74 Package(s)
Upgrade      23 Package(s)

Total size: 58 M
Total download size: 58 M
Try to find any workaround, may be here or here
I'd never used proxy and really have not idea how to resolve this.
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 07:48:31 AM
Quote from: mit on July 30, 2013, 07:35:12 AM
The attached file said all. You needs package from my (last post some of them is not mandatory; packages after backslash are from main repositories, the others are from linuxtech),but you can't install them manually, because everyone have its own dependencies.
Here is what said your file:
Quote from: Transaction SummaryInstall      74 Package(s)
Upgrade      23 Package(s)

Total size: 58 M
Total download size: 58 M
Try to find any workaround, may be here or here
I'd never used proxy and really have not idea how to resolve this.

Ok !

Even if not needed as you say, I'd like to give you a file where are listed all the packages I already have. You can find there that most of the packages in your command seem to be already there ; does it mean that I have a wrong version of them ? :-\

PS : fu, attachment doesn't work, don't know why cause the file is small (20kB...)
Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 08:00:44 AM
run rpm -qa jack-audio-connection-kit-devel a52dec-devel  faac-devel  faad2-devel  lame-devel  libmad-devel  libogg-devel  libvorbis-devel  opencore-amr-devel twolame-devel xvidcore-devel *x264*  ffmpeg-libs-devel libxslt  js-devel libXmu-devel  libsamplerate-devel    libass-devel   pulseaudio-libs-devel  gtk2-devel qt4*
This will return if any of these packages are installed, then post result!
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 08:14:54 AM
Quote from: mit on July 30, 2013, 08:00:44 AM
run rpm -qa jack-audio-connection-kit-devel a52dec-devel  faac-devel  faad2-devel  lame-devel  libmad-devel  libogg-devel  libvorbis-devel  opencore-amr-devel twolame-devel xvidcore-devel *x264*  ffmpeg-libs-devel libxslt  js-devel libXmu-devel  libsamplerate-devel    libass-devel   pulseaudio-libs-devel  gtk2-devel qt4*
This will return if any of these packages are installed, then post result!

Result is :

libx264_115-0.115-0.20110722.2.el6.x86_64
libx264_114-0.114-15_20110308.2245.el6.x86_64
qt47-4.7.1-3_15.el6.x86_64
x264-0.0.0-0.4.20101111.el6.rf.x86_64
libx264_118-0.118-17_20111111.2245.el6.x86_64
libxslt-1.1.26-2.el6.x86_64
gtk2-devel-2.18.9-10.el6.x86_64
xvidcore-devel-1.3.2-3.el6.x86_64
libx264_130-0.130-0.20130531.1.el6.x86_64

:)
Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 08:36:51 AM
Only 3....
By the way you need two more from deferent repositories: mjpegtools-devel & yasm-devel
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 08:41:20 AM
Quote from: mit on July 30, 2013, 08:36:51 AM
Only 3....

I counted 9... but I believe you so I guess packages can be grouped into three main groups.

Quote
By the way you need two more from deferent repositories: mjpegtools-devel & yasm-devel

Alright, so considering that I already have some packages, what command should I run into terminal ? I'll send it to the IT for approval (it is not a matter of confidence, but I have to inform them)

Thank you for helping :)
Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 09:06:32 AM
Quote from: ClemD on July 30, 2013, 08:41:20 AM
I counted 9...
You needs development files. Not allwas, but in most cases they are in separate package  (-devel)
QuoteAlright, so considering that I already have some packages, what command should I run into terminal ? I'll send it to the IT for approval (it is not a matter of confidence, but I have to inform them)
I'm not sure i understand this question, but nothing special is needed.Just must be add one more repo, but in general needs internet access.  ;D

And more: are you sure this is a proxy problem, because i think sometimes I have seen a similar error to me, but this do not break the installation.Also you said "dev group" has been installed successfully, so just try again

And no THANKS needed. If i can help you with my stupid English, this will be miracle
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 09:28:00 AM
Quote from: mit on July 30, 2013, 09:06:32 AM
Quote from: ClemD on July 30, 2013, 08:41:20 AM
I counted 9...
You needs development files. Not allwas, but in most cases they are in separate package  (-devel)

3 is the number of missing packages ?

Quote

QuoteAlright, so considering that I already have some packages, what command should I run into terminal ? I'll send it to the IT for approval (it is not a matter of confidence, but I have to inform them)
I'm not sure i understand this question, but nothing special is needed.Just must be add one more repo, but in general needs internet access.  ;D

I have internet access, there is only a proxy inside the company which blocks some sites (especially facebook, youtube or other ones).

Basically, the question is : what do I have to do ? :)

Quote
And more: are you sure this is a proxy problem, because i think sometimes I have seen a similar error to me, but this do not break the installation.Also you said "dev group" has been installed successfully, so just try again

I'm not sure at all, that's why IT said (it said the proxy was blocking access to CentOS mirrors)

Quote
And no THANKS needed. If i can help you with my stupid English, this will be miracle

Someone, somewhere on this planet, is making effort to help me going on in my internship. THIS is miracle. So, thank you ;D

PS : by the way, your english isn't stupid ;)
(though I sometimes may ask you to repeat something because I am not always sure to understand, but I do not mind ;))
Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 10:25:01 AM
QuoteBasically, the question is : what do I have to do ? :)
You mast find a way to install dependencies...
I found mjpegtools-devel has alternative in linuxtech repo, but let's get to see which repos you already have first...
yum repolist all
Quote...IT said (it said the proxy was blocking access to CentOS mirrors)
These IT's can do unblock these sites temporarily?
PS :
QuotePS : by the way, your english isn't stupid ;)....
liar...  ;D
Actually you're right - my English is not stupid, i'm stupid when i've learned English from internet only,but this is different thread....  :-[
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 10:54:27 AM
Quote from: mit on July 30, 2013, 10:25:01 AM
QuoteBasically, the question is : what do I have to do ? :)
You mast find a way to install dependencies...
I found mjpegtools-devel has alternative in linuxtech repo, but let's get to see which repos you already have first...
yum repolist all

Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.cica.es
* extras: ftp.cica.es
* updates: ftp.cica.es
repo id                   repo name                               status
C6.0-base                 CentOS-6.0 - Base                       disabled
C6.0-centosplus           CentOS-6.0 - CentOSPlus                 disabled
C6.0-contrib              CentOS-6.0 - Contrib                    disabled
C6.0-extras               CentOS-6.0 - Extras                     disabled
C6.0-updates              CentOS-6.0 - Updates                    disabled
C6.1-base                 CentOS-6.1 - Base                       disabled
C6.1-centosplus           CentOS-6.1 - CentOSPlus                 disabled
C6.1-contrib              CentOS-6.1 - Contrib                    disabled
C6.1-extras               CentOS-6.1 - Extras                     disabled
C6.1-updates              CentOS-6.1 - Updates                    disabled
C6.2-base                 CentOS-6.2 - Base                       disabled
C6.2-centosplus           CentOS-6.2 - CentOSPlus                 disabled
C6.2-contrib              CentOS-6.2 - Contrib                    disabled
C6.2-extras               CentOS-6.2 - Extras                     disabled
C6.2-updates              CentOS-6.2 - Updates                    disabled
OSL_Repository            OSL Repository                          disabled
OSL_updates_soft          OSL Updates Repository (soft)           disabled
OSL_updates_test          OSL Updates Repository (test)           disabled
base                      CentOS-6 - Base                         enabled: 6,381
c6-media                  CentOS-6 - Media                        disabled
centosplus                CentOS-6 - Plus                         disabled
contrib                   CentOS-6 - Contrib                      disabled
debug                     CentOS-6 - Debuginfo                    disabled
extras                    CentOS-6 - Extras                       enabled:    13
linuxtech                 LinuxTECH                               enabled: 1,144
naulinux-school           NauLinux School                         disabled
updates                   CentOS-6 - Updates                      enabled: 1,040
repolist: 8,578


Quote
Quote...IT said (it said the proxy was blocking access to CentOS mirrors)
These IT's can do unblock these sites temporarily?

I don't know... if there is no other choice, I'll ask them !

QuotePS :
QuotePS : by the way, your english isn't stupid ;)....
liar...  ;D
Actually you're right - my English is not stupid, i'm stupid when i've learned English from internet only,but this is different thread....  :-[

Yes, a different thread ;)

Well, if you want to talk about it, you can send me a Private Message ; else, don't worry/apology, your english is good enough ;)
Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 11:56:18 AM
Do you try it some workaround when i mentioned above? This (http://www.linuxquestions.org/questions/red-hat-31/yum-issues-through-proxy-4175430334/) for example.
More of threads reported by the same solution.
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 12:12:19 PM
Quote from: mit on July 30, 2013, 11:56:18 AM
Do you try it some workaround when i mentioned above? This (http://www.linuxquestions.org/questions/red-hat-31/yum-issues-through-proxy-4175430334/) for example.
More of threads reported by the same solution.

You're suggesting me to run :

unset http_proxy https_proxy ftp_proxy

# export http_proxy=http://proxy.company.org:8080
# export proxy_username=domain\username
# export proxy_password=password


Right ?

I mean, I did not try this method :

Quote from: mit on July 29, 2013, 03:13:45 PM
This looks like a proxy or connection issue, but just try again like that:
Quotesudo yum --disableplugin=fastestmirror install jack-audio-connection-kit-devel a52dec-devel  faac-devel  faad2-devel  lame-devel  libmad-devel  libogg-devel  libvorbis-devel  opencore-amr-devel twolame-devel xvidcore-devel libx264-devel  ffmpeg-libs-devel \
libxslt  js-devel libXmu-devel  libsamplerate-devel    libass-devel   pulseaudio-libs-devel  gtk2-devel qt4-devel

Because I already have some of the packages that I don't want to replace - don't I ?
Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 12:32:44 PM
QuoteYou're suggesting me to run :
That's right
QuoteBecause I already have some of the packages that I don't want to replace - don't I ?
Do not worry, the packages couldn't be replaced, only might be uodated. But more of dependencies coms from ffmpeg-libs-devel, so you try like that:

unset http_proxy https_proxy ftp_proxy
export http_proxy=your data here
export proxy_username=your data here
export proxy_password=your data here
yum install ffmpeg-libs-devel


and see what is going on...
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 12:46:22 PM
Quote from: mit on July 30, 2013, 12:32:44 PM
QuoteYou're suggesting me to run :
That's right
QuoteBecause I already have some of the packages that I don't want to replace - don't I ?
Do not worry, the packages couldn't be replaced, only might be uodated. But more of dependencies coms from ffmpeg-libs-devel, so you try like that:

unset http_proxy https_proxy ftp_proxy
export http_proxy=your data here
export proxy_username=your data here
export proxy_password=your data here
yum install ffmpeg-libs-devel


and see what is going on...

Ok, thank you :)

I transmitted to IT for both authorization and knowledge of the name of the proxy. I'll keep you informed ;)
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 01:30:20 PM
That's what I feared : can't touch to proxy.

However, I have the possibility to download "manually" ( = through web sites on a web browser) packages. One by one. How exciting.

For instance, pkgs.org was recommended to me by IT.

So, I searched a ffmpeg-libs-devel compatible with my architecture and found one here : http://pkgs.org/centos-6-rhel-6/linuxtech-x86_64/ffmpeg-libs-devel-0.6.5-2.el6.x86_64.rpm.html

I successfully downloaded it, but when I came to install it, I had problems. I give you what happened when installing :

sudo yum install ffmpeg-libs-devel

[...]

Transaction Check Error:
  file /usr/lib64/libvdpau.so.1.0.0 from install of libvdpau-0.5-2.el6.x86_64 conflicts with file from package libvdpau1-0.4.1-4.el6.x86_64
  file /usr/lib64/libopencore-amrnb.so.0.0.2 from install of libopencore-amr-0.1.2-3.el6.x86_64 conflicts with file from package libopencore-amrnb0-0.1.2-2.el6.x86_64
  file /usr/lib64/libopencore-amrwb.so.0.0.2 from install of libopencore-amr-0.1.2-3.el6.x86_64 conflicts with file from package libopencore-amrwb0-0.1.2-2.el6.x86_64
  file /usr/lib64/libfaac.so.0.0.0 from install of libfaac-1.28-3.el6.x86_64 conflicts with file from package libfaac0-1.28-6.el6.x86_64
  file /usr/lib64/libdirac_decoder.so.0 from install of libdirac-1.0.2-4.el6.x86_64 conflicts with file from package dirac-libs-1.0.0-1.el6.x86_64
  file /usr/lib64/libdirac_encoder.so.0 from install of libdirac-1.0.2-4.el6.x86_64 conflicts with file from package dirac-libs-1.0.0-1.el6.x86_64
  file /usr/lib64/libenca.so.0.5.1 from install of libenca-1.13-3.el6.x86_64 conflicts with file from package enca-1.13-1.el6.x86_64
  file /usr/lib64/libfribidi.so.0.3.1 from install of libfribidi-0.19.2-3.el6.x86_64 conflicts with file from package fribidi-0.19.2-2.el6.x86_64
  file /usr/lib64/librtmp.so.0 from install of librtmp-2.3-3.el6.x86_64 conflicts with file from package librtmp0-2.3-1.el6.x86_64
  file /usr/lib64/libva.so.1 from install of libva-1.0.16-3.el6.x86_64 conflicts with file from package libva1-1.0.10-5.el6.x86_64
Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 01:52:03 PM
Probably you already have other ffmpeg devel installed. Linuxtech in most cases has a deferent names...
rpm -qa *pulseaudio* *qt* *x264*  *ffmpeg* *Xmu* *samplerate* *jack*
Give me the result!
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 01:53:47 PM
Quote from: mit on July 30, 2013, 01:52:03 PM
Probably you already have other ffmpeg devel installed. Linuxtech in most cases has a deferent names...
rpm -qa *pulseaudio* *qt* *x264*  *ffmpeg* *Xmu* *samplerate* *jack*
Give me the result!

Here you are, Sir :)

libXmu-1.0.5-1.el6.x86_64
pulseaudio-0.9.21-13.el6.x86_64
libx264_115-0.115-0.20110722.2.el6.x86_64
libx264_114-0.114-15_20110308.2245.el6.x86_64
jack-audio-connection-kit-0.116.1-6_1.el6.x86_64
pulseaudio-libs-glib2-0.9.21-13.el6.x86_64
alsa-plugins-pulseaudio-1.0.21-3.el6.x86_64
pulseaudio-libs-0.9.21-13.el6.x86_64
qt47-4.7.1-3_15.el6.x86_64
x264-0.0.0-0.4.20101111.el6.rf.x86_64
pulseaudio-gdm-hooks-0.9.21-13.el6.x86_64
libsamplerate-0.1.7-2.1.el6.x86_64
pulseaudio-module-gconf-0.9.21-13.el6.x86_64
libx264_118-0.118-17_20111111.2245.el6.x86_64
kde-settings-pulseaudio-4.3.1-1.el6.centos.noarch
pulseaudio-utils-0.9.21-13.el6.x86_64
pulseaudio-module-x11-0.9.21-13.el6.x86_64
qt3-3.3.8b-30.el6.x86_64
dbus-qt-0.70-7.2.el6.x86_64
libx264_130-0.130-0.20130531.1.el6.x86_64
pinentry-qt-0.7.6-6.el6.x86_64
Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 02:12:05 PM
Hm..., i don't know! Try this one (http://puias.math.ias.edu/data/puias/6/x86_64/os/Addons/ffmpeg-devel-0.8.5-2.1.puias6.x86_64.rpm) and let's to see result!

P.S: So i've make a check, and actually you need this (http://dl.atrpms.net/el6-x86_64/atrpms/stable/ffmpeg-devel-1.2.1-59.el6.x86_64.rpm)
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 02:27:30 PM
Quote from: mit on July 30, 2013, 02:12:05 PM
Hm..., i don't know! Try this one (http://puias.math.ias.edu/data/puias/6/x86_64/os/Addons/ffmpeg-devel-0.8.5-2.1.puias6.x86_64.rpm) and let's to see result!

So i've make acheck, and actually you need this (http://dl.atrpms.net/el6-x86_64/atrpms/stable/ffmpeg-devel-1.2.1-59.el6.x86_64.rpm)

How should I make the difference between versions when I run :

sudo yum install ffmpeg-libs-devel

?


Meanwhile, when Firefox proposes to install it, it says it needs "71 additional packages to be installed"  :suicide:
Title: Re: SVN compilation problem
Post by: ClemD on July 30, 2013, 02:37:38 PM
Quote from: mit on July 30, 2013, 02:12:05 PM
P.S: So i've make a check, and actually you need this (http://dl.atrpms.net/el6-x86_64/atrpms/stable/ffmpeg-devel-1.2.1-59.el6.x86_64.rpm)

Downloaded it !

sudo yum install ffmpeg-devel

[...]

Transaction Check Error:
  file /usr/lib64/libvdpau.so.1.0.0 from install of libvdpau-0.5-2.el6.x86_64 conflicts with file from package libvdpau1-0.4.1-4.el6.x86_64
  file /usr/lib64/libopencore-amrnb.so.0.0.2 from install of libopencore-amr-0.1.2-3.el6.x86_64 conflicts with file from package libopencore-amrnb0-0.1.2-2.el6.x86_64
  file /usr/lib64/libopencore-amrwb.so.0.0.2 from install of libopencore-amr-0.1.2-3.el6.x86_64 conflicts with file from package libopencore-amrwb0-0.1.2-2.el6.x86_64
  file /usr/lib64/libfaac.so.0.0.0 from install of libfaac-1.28-3.el6.x86_64 conflicts with file from package libfaac0-1.28-6.el6.x86_64
  file /usr/lib64/libdirac_decoder.so.0 from install of libdirac-1.0.2-4.el6.x86_64 conflicts with file from package dirac-libs-1.0.0-1.el6.x86_64
  file /usr/lib64/libdirac_encoder.so.0 from install of libdirac-1.0.2-4.el6.x86_64 conflicts with file from package dirac-libs-1.0.0-1.el6.x86_64
  file /usr/lib64/libenca.so.0.5.1 from install of libenca-1.13-3.el6.x86_64 conflicts with file from package enca-1.13-1.el6.x86_64
  file /usr/lib64/libfribidi.so.0.3.1 from install of libfribidi-0.19.2-3.el6.x86_64 conflicts with file from package fribidi-0.19.2-2.el6.x86_64
  file /usr/lib64/librtmp.so.0 from install of librtmp-2.3-3.el6.x86_64 conflicts with file from package librtmp0-2.3-1.el6.x86_64
  file /usr/lib64/libva.so.1 from install of libva-1.0.16-3.el6.x86_64 conflicts with file from package libva1-1.0.10-5.el6.x86_64
Title: Re: SVN compilation problem
Post by: mit on July 30, 2013, 03:24:24 PM
Exelent!Conflicts of packages from the same f__k'n repo.You nothing said about dependencies, but i'm sure it's min. 20, every one with its own dependencies.So i realy do not understand, how you plan to install them, even if conflicts have been resolved!?
Title: Re: SVN compilation problem
Post by: ClemD on July 31, 2013, 07:05:35 AM
Quote from: mit on July 30, 2013, 03:24:24 PM
Exelent!Conflicts of packages from the same f__k'n repo.You nothing said about dependencies, but i'm sure it's min. 20, every one with its own dependencies.So i realy do not understand, how you plan to install them, even if conflicts have been resolved!?

I don't know. I don't understand what is happening when I run "yum install ffmpeg-devel". Which file will the system install ? Where will the system search that file ?

As far as I understood, IT asked me to :

- identify packages I needed to compile
- download them on safe websites like pkgs.org, taking care of version number
- install the packages. If there are more dependencies needed to install the packages, back to step 1.
Title: Re: SVN compilation problem
Post by: mit on July 31, 2013, 09:12:30 AM
Tell this IT, he do that, or more better to kill itself!
We are talking about 40 packages or more....
Title: Re: SVN compilation problem
Post by: ClemD on July 31, 2013, 09:18:39 AM
Quote from: mit on July 31, 2013, 09:12:30 AM
Tell this IT, he do that, or more better to kill itself!
We are talking about 40 packages or more....

You managed to make me smile ;D

Yeah, I really feel bad about doing that :(
Title: Re: SVN compilation problem
Post by: mit on July 31, 2013, 10:55:25 AM
You laughing, but i get nervous. And i'm absolutely serious when i say that the IT should include suicide as option by his future, if he continues talking bullshits. Sorry, i really wanted to help you, but i did not know would have to work with idiots (I mean your IT's).I'll be busy for a while (for next 2-3 hrs),but then i'm here...
Title: Re: SVN compilation problem
Post by: ClemD on July 31, 2013, 11:01:22 AM
Quote from: mit on July 31, 2013, 10:55:25 AM
You laughing, but i get nervous. And i'm absolutely serious when i say that the IT should include suicide as option by his future, if he continues talking bullshits. Sorry, i really wanted to help you, but i did not know would have to work with idiots (I mean your IT's).I'll be busy for a while (for next 2-3 hrs),but then i'm here...

I understand what you feel ; it's ok ;)

I'll see with IT what I'm going to do next days. I'll come back if I feel I need some help from you (or mean, or anyone ;)) :)

Take care meanwhile :)

PS : Oh, and I'll be on holidays next 2 weeks, so you won't see me ;)