Re: Main window position

"George L. Yermulnik" <[email protected]> Mon, 16 Jan 2012 11:57:43 +0200
Newsgroups gmane.network.licq.general
Message-ID <[email protected]>
Hello!

On Sat, 14 Jan 2012 at 09:52:12 (+0100), Erik Johansson wrote:

> 2012/1/13 George L. Yermulnik <[email protected]>:
> > On Fri, 13 Jan 2012 at 14:18:43 (+0100), Erik Johansson wrote:
> >> > cd /usr/ports/net-im/licq/work/licq-1.6.0/src && /usr/bin/c++   -D_REENTRANT -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wl,--export-dynamic -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wl,--export-dynamic -DLICQDAEMON_DEBUG_RW_MUTEX=1 -I/usr/ports/net-im/licq/work/licq-1.6.0/include -I/usr/local/include -I/usr/ports/net-im/licq/work/licq-1.6.0/src -I/usr/local/include/gpgme -I/usr/ports/net-im/licq/work/licq-1.6.0/3rdparty/gtest/include -I/usr/ports/net-im/licq/work/licq-1.6.0/3rdparty/gmock/include   -Wall -Wextra -o CMakeFiles/licq.dir/daemon.cpp.o -c /usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp

> >> -I/usr/local/include appears before
> >> -I/usr/ports/net-im/licq/work/licq-1.6.0/include which causes the
> >> problem.

> I think that the problem might be in the ports' Makefile. Can you
> please comment out the CPPFLAGS+= and CFLAGS+= lines in the Makefile
> [1] and build with VERBOSE=1 and post the output when daemon.cpp is
> built.

I've already upgraded to 1.6.0. Before upgrading I moved
/usr/local/include/licq/ to another location as you suggested and it
worked fine. So I can't build with includes from Licq 1.5.x being in
includes path, but I have just done it with commented out
CPPFLAGS/CFLAGS and it worked fine for 1.6.0 (/usr/local/include/licq/
was moved to another location).

Should I point that to Licq port maintainer and ask him to comment out
CPPFLAGS/CFLAGS definitions as they lead to such a race condition?

--- cut ---
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.6.0/CMakeFiles 6
[  6%] Building CXX object src/CMakeFiles/licq.dir/daemon.cpp.o
cd /usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.6.0/src && /usr/bin/c++   -D_REENTRANT -O2 -pipe -fno-strict-aliasing -Wl,--export-dynamic -O2 -pipe -fno-strict-aliasing -Wl,--export-dynamic -DLICQDAEMON_DEBUG_RW_MUTEX=1 -I/usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.6.0/include -I/usr/local/include -I/usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.6.0/src -I/usr/local/include/gpgme -I/usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.6.0/3rdparty/gtest/include -I/usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.6.0/3rdparty/gmock/include   -Wall -Wextra -o CMakeFiles/licq.dir/daemon.cpp.o -c /usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.6.0/src/daemon.cpp
c++: --export-dynamic: linker input file unused because linking not done
c++: --export-dynamic: linker input file unused because linking not done
--- cut ---

> // Erik

> [1] - http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-im/licq/Makefile?rev=1.80

-- 
George L. Yermulnik
[YZ-RIPE]