Improving and Fixing Compilation

Bug #1156586 reported by Jehan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Stopmotion
Fix Released
Undecided
Unassigned

Bug Description

The compilation is currently a little troublesome. The attached patch improves or fixes the following points:

1/ update the README which does not say that inotify-tools are also a required dependency.

2/ Add a pkg-config check in the "qmake stopmotion.pro" step for some libraries with a pkg-config description file (sdl, SDL_image and vorbisfile). This simplifies the process by checking dependencies before starting to compile (like would do a configure file in a GNU process).

3/ Add a -lX11 flag for correct linking with X11 after compilation. I don't know if and why it would work on other machines but on mine, the make finished with this linking error:

/usr/bin/ld: frameview.o: undefined reference to symbol 'XSync'
/usr/bin/ld: note: 'XSync' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation

In any case, it is always better to have all the right flags.

Revision history for this message
Jehan (jehan-marmottard) wrote :
Revision history for this message
Jehan (jehan-marmottard) wrote :

Hi,

No news about this? Just tested on master. The README change is not valid anymore, since someone made the same README fix in the meantime.
The update in stopmotion.pro to fix/improve the configuration and compilation is still valid though.
Attached the updated patch without README change.

Tim Band (tim-band)
Changed in lsm:
status: New → Fix Committed
Revision history for this message
Tim Band (tim-band) wrote :

released in 0.7

Changed in lsm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.