compiz-core fails to build on Archlinux, due to DSO linking problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Critical
|
Unassigned | ||
Compiz Core |
New
|
Undecided
|
Unassigned | ||
Arch Linux |
New
|
Undecided
|
Unassigned | ||
CentOS |
New
|
Undecided
|
Unassigned | ||
Fedora |
New
|
Undecided
|
Unassigned |
Bug Description
As said compiz-core fails to build on (Archlinux 64) do to DSO linking problem;
Scanning dependencies of target compiz_
[ 42%] Building CXX object src/privatescre
Linking CXX executable compiz_
/usr/bin/ld: CMakeFiles/
/usr/bin/ld: note: 'XOpenDisplay' is defined in DSO /usr/lib/
/usr/lib/
collect2: ld returned 1 exit status
make[2]: *** [src/privatescr
make[1]: *** [src/privatescr
make: *** [all] Error 2
I'm not quite familiar how to change this in the cmake files, but when just using 'make', usually i can just type 'export LDFLAGS="$LDFLAGS -lm" (as an example) before compiling, this doesn't seem to work with the cmake build system, though.
DSO linking is also discussed here (i think this applies anyway);
http://
Maybe in Ubuntu/Debian, things aren't done this way, i don't know. But for many other distro's this might be an issue? From what i understand -libx11 should be defined in the cmakefiles, but seems to not be - i'm not positive as to where it should be.
cheerz
SideNote/off-topic: Could the Compiz team please post proper build instructions for compiz (On either the compiz home page or Smspillaz compiz blog), now that development has shifted to bzr-only. ~ this would be helpful for package maintainers on X,Y,Z distro, as well as those that wish to build compiz from sources on X.Y,Z distro.
thanx
Changed in compiz-core: | |
milestone: | 0.9.7.2 → 0.9.7.4 |
Changed in compiz-core: | |
milestone: | 0.9.7.4 → none |
Changed in compiz-core: | |
milestone: | none → 0.9.7.6 |
Changed in compiz-core: | |
milestone: | 0.9.7.6 → 0.9.7.8 |
Changed in compiz-core: | |
milestone: | 0.9.7.8 → 0.9.8.0 |
Changed in compiz: | |
milestone: | none → 0.9.8.0 |
Changed in compiz-core: | |
milestone: | 0.9.8.0 → none |
Changed in compiz: | |
milestone: | 0.9.8.0 → 0.9.8.1 |
Changed in compiz: | |
milestone: | 0.9.8.2 → 0.9.8.4 |
Changed in compiz: | |
milestone: | 0.9.8.4 → 0.9.9.0 |
Changed in compiz: | |
milestone: | 0.9.9.0 → 0.9.9.2 |
Changed in compiz: | |
milestone: | 0.9.9.2 → 0.9.10.0 |
Changed in compiz: | |
status: | New → Incomplete |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.10.2 |
Changed in compiz: | |
milestone: | 0.9.10.2 → 0.9.11.0 |
I've now tested building compiz on several non-debian/ubuntu systems - in all cases compiz-core fails to build with DSO linking problems :\ this includes Archlinux, CentOS and Fedora ~ but if you like i can try to compile it on several other distros **if 3 failed builds on X,Y,Z distro isn't enough?**
I would assume other parts of compiz (in bzr) also have the same sort of (DSO) linking issues.... although, since compiz-core won't build, i haven't bothered to build any other part.
this is a *critical* bug, as compiz will *NOT* build outside of Ubuntu/debian, without manual intervention of the end-user. which IMO is almost as bad as when someone made a commit which broke compiz on ALL RPM distros;
http:// bugs.opencompos iting.org/ show_bug. cgi?id= 1352
please consider other distro's when coding, not everybody is using Ubuntu. thanks