master does not build

3 views
Skip to first unread message

Erik Johansson

unread,
Jul 29, 2012, 5:04:14 PM7/29/12
to licq...@googlegroups.com
As of 3ae13d00 (Build example config file as default) master does not
build as the source file "default_config.cpp" does not exist.

// Erik

--
Erik Johansson
Home Page: http://ejohansson.se/
PGP Key: http://ejohansson.se/erik.asc

Anders Olofsson

unread,
Jul 30, 2012, 3:25:26 AM7/30/12
to Erik Johansson, licq...@googlegroups.com
On 2012-07-29 23:04, Erik Johansson wrote:
> As of 3ae13d00 (Build example config file as default) master does not
> build as the source file "default_config.cpp" does not exist.
>
> // Erik
>

default_config.cpp is generated from licq_forwarder.conf when running
cmake for forwarder plugin.
Try clearing your forwarder/build dir and rerunning cmake for it, that
should generate the missing file.

Feel free to have a look in forwarder/src/CMakeLists.txt and see if you
can find a better way to do the generation so it builds when make is run
instead of when running cmake.
Also I was unable to figure out how to rebuild default_config.cpp
automatically when licq_forwarder.conf has changed so any help with that
would be great.

/Anders

Erik Johansson

unread,
Jul 30, 2012, 3:43:46 AM7/30/12
to Anders Olofsson, licq...@googlegroups.com


On 30 Jul 2012 09:25, "Anders Olofsson" <fl...@licq.org> wrote:
> default_config.cpp is generated from licq_forwarder.conf when running cmake for forwarder plugin.

I see. Looks like I was a bit fast to come to a conclusion.

> Try clearing your forwarder/build dir and rerunning cmake for it, that should generate the missing file.

I'm building from the build-all dir and I think I tried it from scratch. Will try again.

> Feel free to have a look in forwarder/src/CMakeLists.txt and see if you can find a better way to do the generation so it builds when make is run instead of when running cmake.
> Also I was unable to figure out how to rebuild default_config.cpp automatically when licq_forwarder.conf has changed so any help with that would be great.

Will do.

// Erik

Erik Johansson

unread,
Jul 30, 2012, 2:20:10 PM7/30/12
to Anders Olofsson, licq...@googlegroups.com
On Mon, Jul 30, 2012 at 9:43 AM, Erik Johansson <er...@ejohansson.se> wrote:
>> Try clearing your forwarder/build dir and rerunning cmake for it, that
>> should generate the missing file.
>
> I'm building from the build-all dir and I think I tried it from scratch.
> Will try again.

Found the issue and fixed it. The build works now.

Erik Johansson

unread,
Jul 30, 2012, 3:15:03 PM7/30/12
to Anders Olofsson, licq...@googlegroups.com
On Mon, Jul 30, 2012 at 9:43 AM, Erik Johansson <er...@ejohansson.se> wrote:
>
Should work now.

Casey Cichon

unread,
Jul 31, 2012, 10:05:03 AM7/31/12
to licq...@googlegroups.com

I'm having a problem compiling licq:

Here's the error:
[ 3%] Building CXX object qt4-gui/src/CMakeFiles/licq_qt4-gui.dir/contactlist/contactuserdata.o
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp: In member function ‘void LicqQtGui::ContactUserData::updateExtendedStatus()’:
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:327:32: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:329:37: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:332:27: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:334:32: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:337:30: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp: In member function ‘QString LicqQtGui::ContactUserData::tooltip() const’:
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:719:34: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:721:39: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:724:29: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:726:34: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:729:32: error: ‘IcqPluginActive’ is not a member of ‘Licq’
make[2]: *** [qt4-gui/src/CMakeFiles/licq_qt4-gui.dir/contactlist/contactuserdata.o] Error 1
make[1]: *** [qt4-gui/src/CMakeFiles/licq_qt4-gui.dir/all] Error 2
make: *** [all] Error 2
casey@wizkid2:~/Downloads/licq/build-all$


Just started recently as it compiled last week.

Casey
signature.asc

Erik Johansson

unread,
Jul 31, 2012, 2:22:18 PM7/31/12
to Casey Cichon, licq...@googlegroups.com
Strange. Are you trying the latest git version?

Casey Cichon

unread,
Jul 31, 2012, 3:37:20 PM7/31/12
to Erik Johansson, licq...@googlegroups.com
On Tue, Jul 31, 2012 at 08:22:18PM +0200, Erik Johansson wrote:
>
> Strange. Are you trying the latest git version?
>
> // Erik
>
Yes.

Casey

signature.asc

Erik Johansson

unread,
Jul 31, 2012, 3:42:00 PM7/31/12
to Casey Cichon, licq...@googlegroups.com
Can you please post the output from running make VERBOSE=1?

Casey Cichon

unread,
Aug 1, 2012, 6:47:44 AM8/1/12
to Erik Johansson, licq...@googlegroups.com
On Tue, Jul 31, 2012 at 09:42:00PM +0200, Erik Johansson wrote:
> On Tue, Jul 31, 2012 at 9:37 PM, Casey Cichon
> <ca...@wizkid.homelinux.net> wrote:
> > On Tue, Jul 31, 2012 at 08:22:18PM +0200, Erik Johansson wrote:
> >>
> >> Strange. Are you trying the latest git version?
> >>
> >> // Erik
> >>
> > Yes.
>
> Can you please post the output from running make VERBOSE=1?
>

Here you go ....

[ 3%] Building CXX object qt4-gui/src/CMakeFiles/licq_qt4-gui.dir/contactlist/contactuserdata.o
cd /home/casey/Downloads/licq/build-all/qt4-gui/src && /usr/bin/c++ -Dlicq_qt4_gui_EXPORTS -D_REENTRANT -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -fPIC -I/home/casey/Downloads/licq/build-all/qt4-gui -I/usr/local/include -I/usr/local/include/licq -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -I/home/casey/Downloads/licq/qt4-gui/src -Wall -Wextra -o CMakeFiles/licq_qt4-gui.dir/contactlist/contactuserdata.o -c /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp: In member function ‘void LicqQtGui::ContactUserData::updateExtendedStatus()’:
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:327:32: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:329:37: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:332:27: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:334:32: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:337:30: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp: In member function ‘QString LicqQtGui::ContactUserData::tooltip() const’:
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:719:34: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:721:39: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:724:29: error: ‘IcqPluginActive’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:726:34: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
/home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:729:32: error: ‘IcqPluginActive’ is not a member of ‘Licq’
make[2]: *** [qt4-gui/src/CMakeFiles/licq_qt4-gui.dir/contactlist/contactuserdata.o] Error 1
make[2]: Leaving directory `/home/casey/Downloads/licq/build-all'
make[1]: *** [qt4-gui/src/CMakeFiles/licq_qt4-gui.dir/all] Error 2
make[1]: Leaving directory `/home/casey/Downloads/licq/build-all'
make: *** [all] Error 2
casey@wizkid2:~/Downloads/licq/build-all$

Casey

signature.asc

Anders Olofsson

unread,
Aug 1, 2012, 3:22:35 PM8/1/12
to Casey Cichon, licq...@googlegroups.com
>> Can you please post the output from running make VERBOSE=1?
>>
>
> Here you go ....
>
> [ 3%] Building CXX object qt4-gui/src/CMakeFiles/licq_qt4-gui.dir/contactlist/contactuserdata.o
> cd /home/casey/Downloads/licq/build-all/qt4-gui/src&& /usr/bin/c++ -Dlicq_qt4_gui_EXPORTS -D_REENTRANT -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -fPIC -I/home/casey/Downloads/licq/build-all/qt4-gui -I/usr/local/include -I/usr/local/include/licq -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -I/home/casey/Downloads/licq/qt4-gui/src -Wall -Wextra -o CMakeFiles/licq_qt4-gui.dir/contactlist/contactuserdata.o -c /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp: In member function ‘void LicqQtGui::ContactUserData::updateExtendedStatus()’:
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:327:32: error: ‘IcqPluginActive’ is not a member of ‘Licq’
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:329:37: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:332:27: error: ‘IcqPluginActive’ is not a member of ‘Licq’
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:334:32: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:337:30: error: ‘IcqPluginActive’ is not a member of ‘Licq’
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp: In member function ‘QString LicqQtGui::ContactUserData::tooltip() const’:
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:719:34: error: ‘IcqPluginActive’ is not a member of ‘Licq’
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:721:39: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:724:29: error: ‘IcqPluginActive’ is not a member of ‘Licq’
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:726:34: error: ‘IcqPluginBusy’ is not a member of ‘Licq’
> /home/casey/Downloads/licq/qt4-gui/src/contactlist/contactuserdata.cpp:729:32: error: ‘IcqPluginActive’ is not a member of ‘Licq’
> make[2]: *** [qt4-gui/src/CMakeFiles/licq_qt4-gui.dir/contactlist/contactuserdata.o] Error 1
> make[2]: Leaving directory `/home/casey/Downloads/licq/build-all'
> make[1]: *** [qt4-gui/src/CMakeFiles/licq_qt4-gui.dir/all] Error 2
> make[1]: Leaving directory `/home/casey/Downloads/licq/build-all'
> make: *** [all] Error 2
> casey@wizkid2:~/Downloads/licq/build-all$


I haven't used build-all in some time so I don't know in which order
things are done, but I can't find the licq/include dir from your source
tree among the include paths you listed.

I would guess usr/local/include/licq contains older headers which
doesn't work with the latest source. Check that the contents of
/usr/local/include/licq is the same as licq/include/licq in your source
dir, specifically icq/user.h where these symbols should be defined.

/Anders

Casey Cichon

unread,
Aug 1, 2012, 3:54:20 PM8/1/12
to Anders Olofsson, licq...@googlegroups.com
On Wed, Aug 01, 2012 at 09:22:35PM +0200, Anders Olofsson wrote:
>
>
> I haven't used build-all in some time so I don't know in which order
> things are done, but I can't find the licq/include dir from your
> source tree among the include paths you listed.
>
> I would guess usr/local/include/licq contains older headers which
> doesn't work with the latest source. Check that the contents of
> /usr/local/include/licq is the same as licq/include/licq in your
> source dir, specifically icq/user.h where these symbols should be
> defined.
>

Ok, I did a make uninstall just to make sure that my /usr/local/include directory was clean. I am also building by using the plugins directory instead of the build-all. It appears to be working now.

Thanks.

Casey
signature.asc
Reply all
Reply to author
Forward
0 new messages