1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

3.2.2 doesn't compile on Fedora

Generic tech support; questions, problems etc.

3.2.2 doesn't compile on Fedora

Postby j-sam » Fri Aug 03, 2012 7:30 pm

Hi! I'm new here, but not to QLC and I really want to thank you for this fantastic program.
Unfortunaltely when I try to compile it on Fedora 17 64bit make stops and exits with the following

Code: Select all
qlcfile.cpp:154:45: error: ‘getuid’ was not declared in this scope
make[2]: *** [qlcfile.o] Errore 1
make[2]: Leaving directory `/home/sam/Scaricati/SW/qlc-3.2.2/engine/src'
make[1]: *** [sub-src-make_default] Errore 2
make[1]: Leaving directory `/home/sam/Scaricati/SW/qlc-3.2.2/engine'
make: *** [sub-engine-make_default] Errore 2


both with the downloaded sources and svn. I've tried also with make distclean but nothing happens.

I'm stuck and don't know what to try anymore :(
Sam_
j-sam
 
Posts: 1
Joined: Fri Aug 03, 2012 7:20 pm

Re: 3.2.2 doesn't compile on Fedora

Postby polemistes » Fri Aug 03, 2012 11:22 pm

Adding this line to each file that produces the error should make it compile:

#include <unistd.h>
polemistes
 
Posts: 5
Joined: Sat Jun 09, 2012 9:28 pm

Re: 3.2.2 doesn't compile on Fedora

Postby just-sam » Sat Aug 04, 2012 7:40 pm

Ok, thanks! I've added that to a few files and it works, but now stops on:

Code: Select all
fixtureeditor.cpp: In member function 'void QLCFixtureEditor::slotRemoveMode()':
fixtureeditor.cpp:746:19: error: variable 'next' set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
make[1]: *** [fixtureeditor.o] Error 1
make[1]: Leaving directory `/home/sam/rpmbuild/BUILD/qlc-3.2.2/fixtureeditor'
make: *** [sub-fixtureeditor-make_default] Error 2
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.9MujpH (%build)


I apologize, but I'm not very able to cope...
just-sam
 
Posts: 5
Joined: Sat Aug 04, 2012 7:33 pm

Re: 3.2.2 doesn't compile on Fedora

Postby polemistes » Sun Aug 05, 2012 1:07 am

In the file "variables.pri" change

QMAKE_CXXFLAGS += -Werror

into

QMAKE_CXXFLAGS += -Wno-error
polemistes
 
Posts: 5
Joined: Sat Jun 09, 2012 9:28 pm

Re: 3.2.2 doesn't compile on Fedora

Postby just-sam » Sun Aug 05, 2012 2:00 pm

Great! It works now, thank you!
just-sam
 
Posts: 5
Joined: Sat Aug 04, 2012 7:33 pm

Re: 3.2.2 doesn't compile on Fedora

Postby just-sam » Sun Aug 12, 2012 3:00 pm

When i try to run qlc i get

Code: Select all
[sam@sam2 qlc-3.2.2]$ qlc
qlc: error while loading shared libraries: libqlcengine.so.1: cannot open shared object file: No such file or directory


I've tried to remove and install again both with the rpm and "make install", but I alway get this error.
What's happening?
just-sam
 
Posts: 5
Joined: Sat Aug 04, 2012 7:33 pm

Re: 3.2.2 doesn't compile on Fedora

Postby just-sam » Mon Aug 13, 2012 7:24 pm

Ok, it works now, QLC was looking for that file and a couple of others in /usr/lib64 while they were in /usr/lib
just-sam
 
Posts: 5
Joined: Sat Aug 04, 2012 7:33 pm


Return to Tech support

Who is online

Users browsing this forum: No registered users and 0 guests

cron