Avidemux 2.6.0 and OpenSuse

Is anyone able to compile or otherwise have a working binary for Avidemux 2.6.0? I need to make use of the new version since the old 2.5.x versions all have severe issues with certain h.264 formats. In trying to compile I always come across a strange error:


/usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: warning: libADM_coreSqlLight3.so, needed by /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: warning: libADM6swscale.so.2, needed by /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: warning: libADM6postproc.so.52, needed by /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: warning: libADM6avformat.so.54, needed by /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so, not found (try using -rpath or -rpath-link)
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to `sws_getContext@LIBSWSCALE_2'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to `avformat_alloc_context@LIBAVFORMAT_54'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to `avio_close@LIBAVFORMAT_54'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to `pp_free_mode@LIBPOSTPROC_52'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to `avformat_free_context@LIBAVFORMAT_54'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to `av_guess_format@LIBAVFORMAT_54'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to `av_register_all@LIBAVFORMAT_54'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Database::Connected()'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to `av_write_frame@LIBAVFORMAT_54'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::getval(int)'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to `ffurl_protocol_next@LIBAVFORMAT_54'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::getval()'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Database::safestr(std::string const&)'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::fetch_row()'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::free_result()'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to `pp_free_context@LIBPOSTPROC_52'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::Query(Database&)'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to `sws_scale@LIBSWSCALE_2'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::insert_id()'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to `pp_postprocess@LIBPOSTPROC_52'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to `pp_get_mode_by_name_and_quality@LIBPOSTPROC_52'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::get_result(std::string const&)'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::execute(std::string const&)'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Database::Database(std::string const&, IError*)'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to `av_new_stream@LIBAVFORMAT_54'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::getstr(int)'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Database::xmlsafestr(std::string const&)'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::GetDatabase() const'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to `av_write_trailer@LIBAVFORMAT_54'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to `sws_freeContext@LIBSWSCALE_2'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to `Query::~Query()'
/home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to `pp_get_context@LIBPOSTPROC_52'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/CMakeRelink.dir/avidemux3_qt4] Error 1
make[2]: Leaving directory `/home/david/projects/avidemux_2.6_branch_mean/buildQt4'
make[1]: *** [CMakeFiles/avidemux3_qt4.dir/preinstall] Error 2
make[1]: Leaving directory `/home/david/projects/avidemux_2.6_branch_mean/buildQt4'
make: *** [preinstall] Error 2
 Installing Qt4


and so I’ve yet to been able to get a working build with either the 2.6.0 release or the SVN versions. I don’t see any 2.6.0 binaries for OpenSuSe available anywhere either. Any help would be appreciated. Note that I am using Tumbleweed but I doubt that matters much in this case.

How should we, in the non Tumbleweed forums know that? In any case, here in the non Tumbleweed forums we like to know which version of openSUSE (btw, mind the spelling of the product name, it will save you a lot of Shift key usage :wink: ) someone having questions/problems is using. But that may that is of no interest in Tumbleweed.

Hi, sorry I didn’t think there would be many Tumbleweed users who have tried to compile avidemux 2.6.0 so it seemed better to just ask here. :slight_smile:

For versions I’m not sure all what info to give but here is some:


3.6.8-13-default #1 SMP Mon Nov 26 22:50:50 UTC 2012 (6fb821e) i686 i686 i386 GNU/Linux


libqt4 4.8.3-5.1
libqt4-devel 4.8.3-5.1
kdelibs4 4.9.3-4.1

cmake 2.8.8-5.1.3

Since it’s an up to date Tumbleweed install it’s probably quite similar to openSUSE 12.2.

On 2012-12-02 22:56, davidmfl wrote:
> Hi, sorry I didn’t think there would be many Tumbleweed users who have
> tried to compile avidemux 2.6.0 so it seemed better to just ask here. :slight_smile:

I think you have to ask in the tumbleweed forum as they will know what
versions are available or if it is possible to get libADM of the
appropriate version.

However, I would have a look at packman. If the binary is available
somewhere, it is there.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Looks like it might just be something with my build environment or includes since I found the libs it’s looking for:


david@linux:~/projects/avidemux_2.6_branch_mean/install/usr/lib> ls
ADM_plugins6           libADM6swscale.so.2         libADM_coreAudioEncoder6.so    libADM_coreImageLoader6.so  libADM_coreSqlLight3.so    libADM_coreVideoEncoder6.so
libADM6avcodec.so.54   libADM_audioParser6.so      libADM_coreAudioFilterAPI6.so  libADM_coreJobs.so          libADM_coreUI6.so          libADM_coreVideoFilter6.so
libADM6avformat.so.54  libADM_core6.so             libADM_coreDemuxer6.so         libADM_coreMuxer6.so        libADM_coreUtils6.so
libADM6avutil.so.51    libADM_coreAudio6.so        libADM_coreDemuxerMpeg6.so     libADM_coreScript.so        libADM_coreVDPAU6.so
libADM6postproc.so.52  libADM_coreAudioDevice6.so  libADM_coreImage6.so           libADM_coreSocket6.so       libADM_coreVideoCodec6.so


The problem often is that people might try to help in recreating what you do on their own system and then playing around there to see if they can fiind a solution. But that requires mostly that they use a system as closr to your’s as possible.

And of course the Tumbleweed forum was not created because we thought is was fun. But with the purpose to bring Tumbleweed users together and not burden others with problems on systems they only vaguely understand what it is about.

Thanks. :slight_smile: I searched for similar issues with google and the forum and didn’t see it. I believe libADM* is provided by avidemux? It’s probably part of the core package? I’m thinking there is something wrong with my environment perhaps with my includes or such and maybe I need to make some changes tot heir build script.

I tried to post over on their avidemux forum but after registering it must be manually approved by an admin due to spam so it might take them a while before I can post there.

Who knows I don’t see a working openSUSE package for avidemux 2.6 now so maybe if we can get it going one can be provided to the community to make it easier.

Okay, sorry about that. I knew generally to stay there but I wasn’t sure when it comes to things like this. Should you all move this there or should it be closed and I should ask again in the tumbleweed forum?

If anyone does try to duplicate btw and is trying “2.6.0” instead of SVN see: cmake 2.8.8 fix and openSUSE 12.2 I had to make those changes to get past an error which stated I supposedly did not have cmake. But it was not needed in the latest SVN.

On 2012-12-02 23:26, davidmfl wrote:
> Looks like it might just be something with my build environment or
> includes since I found the libs it’s looking for:

Are you aware that you not only need the appropriate libs, but also the
corresponding devel packages? They contain the header files, for instance.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Yes that got me at first but I tried to include them all and I think I did so. In theory the build script should catch that as well but I guess nothing is perfect! In any event I’m going to step away from it for the day and try again tomorrow with a fresh mind. :slight_smile:

On 2012-12-03 00:46, davidmfl wrote:
> Yes that got me at first but I tried to include them all and I think I
> did so. In theory the build script should catch that as well but I
> guess nothing is perfect! In any event I’m going to step away from it
> for the day and try again tomorrow with a fresh mind. :slight_smile:

Good idea :slight_smile:

I’ll go on writing a bit so that you have it available tomorrow :slight_smile:

You are right, the configure script should catch them all, but some
times they don’t and you get an error when making the thing. And trying
to guess the package name from the library it mentions (when it does,
the error could be more cryptic) is not that simple.

The problem is that the current search facility at openSUSE searches for
package names, not files.

There is an old utility named “pin” that scans the package list that is
included on the DVD (a file there contains the entire list). You can
create a file that contains the equivalent list from the oss and non-oss
repos; I do that so that I can search for files and packages easily. It
is useful, but limited to those repos.

There was an equivalent tool that did an online search; it was called
“webpin” and was fantastic. It searched all repos. The problem is that
it depends on an online server, maintained by someone, who apparently
does not have the resources or time to keep it. So the server has been
down for some years now.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

On Mon 03 Dec 2012 12:18:06 AM CST, Carlos E. R. wrote:
There was an equivalent tool that did an online search; it was called
“webpin” and was fantastic. It searched all repos. The problem is that
it depends on an online server, maintained by someone, who apparently
does not have the resources or time to keep it. So the server has been
down for some years now.

Hi
It’s been regurgitated recently as http://webpinstant.com/search/


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 5 days 9:01, 3 users, load average: 0.15, 0.12, 0.12
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

On Mon 03 Dec 2012 12:25:36 AM CST, malcolmlewis wrote:

[QUOTE]
On Mon 03 Dec 2012 12:18:06 AM CST, Carlos E. R. wrote:
There was an equivalent tool that did an online search; it was called
“webpin” and was fantastic. It searched all repos. The problem is that
it depends on an online server, maintained by someone, who apparently
does not have the resources or time to keep it. So the server has been
down for some years now.

Hi
It’s been regurgitated recently as http://webpinstant.com/search/

[/QUOTE]
Hi
And webpin has also been updated;
http://webpinstant.com/package/view/webpin


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 5 days 9:11, 3 users, load average: 0.13, 0.12, 0.13
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

On 2012-12-03 01:25, malcolmlewis wrote:

> Hi
> It’s been regurgitated recently as http://webpinstant.com/search/

WOW!! :-)))

But it does not find anything for “libADM_coreSqlLight3”. Must be new.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

On Mon 03 Dec 2012 12:38:06 AM CST, Carlos E. R. wrote:

On 2012-12-03 01:25, malcolmlewis wrote:

> Hi
> It’s been regurgitated recently as http://webpinstant.com/search/

WOW!! :-)))

But it does not find anything for “libADM_coreSqlLight3”. Must be new.

Hi
That’s a library not a package… anyway I’ve branched the PackMan
version and will see how I go updating it to 2.6.0.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 5 days 10:27, 3 users, load average: 0.05, 0.12, 0.12
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

We normally handle every post associated with Tumbleweed in the Tumbleweed forums. A very valid case could be made for moving this thread to Tumbleweed.

Against the idea of moving the thread is the note that (1) such a move can be disruptive, and (2) the thread has gone pretty far already and it would be difficult to quote existing posts to avoid the inevitable thread content splinter for NNTP users when such a move occurs, and (3) the question with respect to Avidemux-2.6.0 may apply to all current openSUSE versions and not just Tumbleweed. I note v.2.5.6 is the current packman version for openSUSE-11.3, 11.4, 12.1, 12.2, tumbleweed and factory.

Hence I am inclined not to move this thread at this time, in the hope that any problems encountered are not Tumbleweed specific. If this does turn out to be Tumbleweed specific, the thread can be moved later, albeit with an even larger content splinter for NNTP users.

On 2012-12-03 02:50, malcolmlewis wrote:
> Hi
> That’s a library not a package…

Yes, of course it is. The search facility claims to search for files, so
I entered the filename that is missing.

The search page, when it doesn’t find anything leaves the previous page
displayed, it appears that it is thinking, not that it doesn’t find
anything.

Wait. I found that it finds something if I type
“libADM_coreSqlLight3.so”, but not if I type a partial filename like
“libADM_coreSqlLight3”. Actually it lists a lot of entries starting with
“libhdf5-0” in packman and others. I can not make head or tails of the
results…


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

On Sun 02 Dec 2012 08:16:01 PM CST, davidmfl wrote:

Is anyone able to compile or otherwise have a working binary for
Avidemux 2.6.0? I need to make use of the new version since the old
2.5.x versions all have severe issues with certain h.264 formats. In
trying to compile I always come across a strange error:

Code:

/usr/lib/gcc/i586-suse-linux/4.7/…/…/…/…/i586-suse-linux/bin/ld:
warning: libADM_coreSqlLight3.so, needed
by /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so,
not found (try using -rpath or
-rpath-link) /usr/lib/gcc/i586-suse-linux/4.7/…/…/…/…/i586-suse-linux/bin/ld:
warning: libADM6swscale.so.2, needed
by /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so,
not found (try using -rpath or
-rpath-link) /usr/lib/gcc/i586-suse-linux/4.7/…/…/…/…/i586-suse-linux/bin/ld:
warning: libADM6postproc.so.52, needed
by /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so,
not found (try using -rpath or
-rpath-link) /usr/lib/gcc/i586-suse-linux/4.7/…/…/…/…/i586-suse-linux/bin/ld:
warning: libADM6avformat.so.54, needed
by /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so,
not found (try using -rpath or
-rpath-link) /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so:
undefined reference to
sws_getContext@LIBSWSCALE_2' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to avformat_alloc_context@LIBAVFORMAT_54’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so:
undefined reference to
avio_close@LIBAVFORMAT_54' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to pp_free_mode@LIBPOSTPROC_52’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so:
undefined reference to
avformat_free_context@LIBAVFORMAT_54' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so: undefined reference to av_guess_format@LIBAVFORMAT_54’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so:
undefined reference to
av_register_all@LIBAVFORMAT_54' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to Database::Connected()’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so:
undefined reference to
av_write_frame@LIBAVFORMAT_54' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to Query::getval(int)’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so:
undefined reference to
ffurl_protocol_next@LIBAVFORMAT_54' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to Query::getval()’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so:
undefined reference to Database::safestr(std::string const&)' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to Query::fetch_row()’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so:
undefined reference to
Query::free_result()' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to pp_free_context@LIBPOSTPROC_52’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so:
undefined reference to
Query::Query(Database&)' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to sws_scale@LIBSWSCALE_2’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so:
undefined reference to
Query::insert_id()' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to pp_postprocess@LIBPOSTPROC_52’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so:
undefined reference to
pp_get_mode_by_name_and_quality@LIBPOSTPROC_52' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to Query::get_result(std::string
const&)’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so:
undefined reference to Query::execute(std::string const&)' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to Database::Database(std::string const&,
IError*)’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so:
undefined reference to
av_new_stream@LIBAVFORMAT_54' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to Query::getstr(int)’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so:
undefined reference to Database::xmlsafestr(std::string const&)' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so: undefined reference to Query::GetDatabase()
const’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreMuxer6.so:
undefined reference to
av_write_trailer@LIBAVFORMAT_54' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to sws_freeContext@LIBSWSCALE_2’ /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreJobs.so:
undefined reference to
Query::~Query()' /home/david/projects/avidemux_2.6_branch_mean/install/usr/lib/libADM_coreImage6.so: undefined reference to pp_get_context@LIBPOSTPROC_52’ collect2: error:
ld returned 1 exit status make[2]: ***
[CMakeFiles/CMakeRelink.dir/avidemux3_qt4] Error 1 make[2]: Leaving
directory /home/david/projects/avidemux_2.6_branch_mean/buildQt4' make[1]: *** [CMakeFiles/avidemux3_qt4.dir/preinstall] Error 2 make[1]: Leaving directory /home/david/projects/avidemux_2.6_branch_mean/buildQt4’ make: ***
[preinstall] Error 2 Installing Qt4 --------------------

and so I’ve yet to been able to get a working build with either the
2.6.0 release or the SVN versions. I don’t see any 2.6.0 binaries for
OpenSuSe available anywhere either. Any help would be appreciated.
Note that I am using Tumbleweed but I doubt that matters much in this
case.

Hi
What command are you using to build, something like;


bash bootStrap.bash --with-cli --with-gtk --tgz

If you drop the tgz switch it should complete the build? I do notice
some errors in the build output about it not finding libraries, and
have also had to patch out the pkg-config check to complete a build.

Need to do some more digging into the build and hopefully will get
something into my home repo on the PackMan Build Service for testing.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 7:53, 3 users, load average: 1.70, 1.10, 0.87
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Hello, I’ve tried a lot of different switches but I didn’t try ‘–with-gtk’ yet. I tried without --tgz and with --rpm and with no switch (where you have to manually copy in over from (project build dir)/usr/*). It will look like as if it completes the build but it doesn’t actually make the executables and I see the above errors in the portion where it makes the qt4 interface… It looks like all it makes is part of common. I also tried ‘–with-cli’ but it didn’t build the CLI program either for me.

I didn’t get a chance to try more things today. Hopefully I will be able to tomorrow.

I guess 2.6.x is built in such a way so that you can also have 2.5.x installed at the same time with little problems by design. Upstream did that on purpose since it’s a total rewrite and considered experimental still (but you need it to handle certain formats where 2.5.x has problems). I think the executable is named ‘avidemux3*’ as opposed to ‘avidemux2*’. It would be nice to see 2.6.0 in the Packman Build Service. :slight_smile:

UPDATE: I’m able to get a successful build now of avidemux 2.6.x with the SVN version. :slight_smile:

The trick is to compile the ‘core’ first and then manually copy the generated files to ‘/usr/*’ (if not trying to build a .tgz, .deb, .rpm, etc. I have not tried those)
Then go back and do it again and generate the qt4 interface and the plugins.
I noticed some weird messages about the plugins so you might have to actually copy over the qt4 interface first and then build it yet again and then copy over the plugins. I’m not sure as I haven’t actually tested the new build yet beyond to see if it runs and can at least load a h.264 clip which 2.5.x previously would not allow seeking for.

  1. Get SVN from Subversion repo. (if using 2.6.0 release you need to fix/patch for the pkg_check error referenced above)
  2. ‘bash bootStrap.bash --without-qt4 --with-core --without-plugins --without-gtk --without-cli’
  3. ‘sudo cp -R ./usr/* /usr/’ (current working directory is where you have the source and then in the install directory - source/install/ - change as needed)
  4. ‘bash bootStrap.bash --with-qt4 --with-core --with-plugins --without-gtk --without-cli’
  5. ‘‘sudo cp -R ./usr/* /usr/’’
  6. The executible should now be ‘/usr/bin/avidemux3_qt4’
  7. (You may need to compile yet again and copy over the plugins again. I’m not sure if it works or not actually. It seems as if it does.)

I’m sure there has to be a better way to do this but I know only enough about the linux build system to be dangerous and avidemux seems to use a more complex system than usual. I found this message from the Fedora maintainer for Avidemux last year: Can not build plugins without installing core? It references this type of problem although they made some changes since then as I understand it. I don’t if this information will help whoever maintains Avidemux for openSUSE in the future or not but I wanted to share.

I also noticed this warning though I am unsure as to it’s significance. It seems to me it isn’t significant but just in case:


CMake Warning:
  Manually-specified variables were not used by the project:

    AVIDEMUX_SOURCE_DIR

I hope this info helps others.