Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Subcommander building on Redhat Enterprise 3 or Fedora Core 1.

subcommander
Discussion topic

Hide all messages in topic

All messages in topic

Re: Subcommander building on Redhat Enterprise 3 or Fedora Core 1.

Author Edward dot Younk at hitachigst dot com
Full name Edward dot Younk at hitachigst dot com
Date 2005-07-06 16:21:49 PDT
Message Hi Martin,

Unfortunately, this is but the first of many compile problems subcommander
when trying to compile under Qt 3.1. For example, ColorSettingsWidget.cpp
fails its compile because the 'adjustColumn' member is undeclared,
applicationDirPath is undefined in Utility.cpp, etc. All these problems go
a way when I compile under Qt 3.3. Unfortunately for me, the machines
that I wanted to use your tool on are based on Redhat Ent 3, which uses
Qt3.1. Is it correct to say the subcommander hasn't compiled under Qt 3.1
in some time, or should this work?

BTW, the tool looks really good on my Qt 3.3 machine, I just wish I could
get it working under Qt 3.1.


Thanks,


Edward Younk
Firmware/Hardware Engineer
Hitachi Global Storage Technologies
office: (507) 322-2116, fax: (507) 322-2400
Internet: Edward dot Younk at hgst dot com




Martin Hauner <hauner at web dot de>
07/06/2005 03:37 AM

To
dev at subcommander dot tigris dot org
cc
Edward dot Younk at hitachigst dot com
Subject
Re: Subcommander building on Redhat Enterprise 3 or Fedora Core 1.







Hi Edward,

> Hi,
>
> q
> I am having trouble compiling the latest subcommander version 0.11.1 on
both RH Ent 3 and Fedora Core 1.
> These systems have boost 1.30.2, APR 0.9.4-2.1 and Ot 3.1. I would
realy appreciate any help you could give me.
>
> Thanks,
>
> The first of many compile errors occurs in ErrorDialog.cpp:
> [..]
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/qt-3.1/include
-I/usr/local/include​/subversion-1 -I/usr/include/apr-0
-I/usr/include/apr-0 -DSCDIR=\"/usr/loca​l/share/subcommander​\" -g -O2 -c
-o ErrorDialog.o `test -f 'ErrorDialog.cpp' || echo './'`ErrorDialog.cpp
> ErrorDialog.cpp: In member function `void ErrorDialog::setup(const
sc::Error*,
> const Stackframes&)':
> ErrorDialog.cpp:110: call of overloaded `setNum(const apr_uint64_t&,
int)' is
> ambiguous

Hmm, Qt 3.1 doesn't have an setNum overload for 64 bit types. I'll fix it.

You can add a long cast to the setNum parameter or simply comment out the
line. This code isn't used on Unix.

--
Martin

Subcommander, http://subcommander.tigris.org
a cross platform Win32/Unix/MacOSX subversion gui client & diff/merge
tool.
____________________​____________________​____________________​__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
Attachments

Re: Subcommander building on Redhat Enterprise 3 or Fedora Core 1.

Author hauner
Full name Martin Hauner
Date 2005-07-06 13:16:08 PDT
Message Edward dot Younk at hitachigst dot com wrote:
 > [..]
> Is it correct to say the subcommander hasn't compiled under Qt 3.1
> in some time, or should this work?

I fear it was never build against Qt 3.1.

> BTW, the tool looks really good on my Qt 3.3 machine, I just wish I could
> get it working under Qt 3.1.

I can try building it against 3.1 to take a look at the problems.
If the errors are easy to fix i will fix them.

But i don't promise anything.

--
Martin

Subcommander, http://subcommander.tigris.org
a cross platform Win32/Unix/MacOSX subversion gui client & diff/merge tool.

Re: Subcommander building on Redhat Enterprise 3 or Fedora Core 1.

Author hauner
Full name Martin Hauner
Date 2005-07-06 01:37:25 PDT
Message Hi Edward,

> Hi,
>
> q
> I am having trouble compiling the latest subcommander version 0.11.1 on both RH Ent 3 and Fedora Core 1.
> These systems have boost 1.30.2, APR 0.9.4-2.1 and Ot 3.1. I would realy appreciate any help you could give me.
>
> Thanks,
>
> The first of many compile errors occurs in ErrorDialog.cpp:
> [..]
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/qt-3.1/include -I/usr/local/include​/subversion-1 -I/usr/include/apr-0 -I/usr/include/apr-0 -DSCDIR=\"/usr/loca​l/share/subcommander​\" -g -O2 -c -o ErrorDialog.o `test -f 'ErrorDialog.cpp' || echo './'`ErrorDialog.cpp
> ErrorDialog.cpp: In member function `void ErrorDialog::setup(const sc::Error*,
> const Stackframes&)':
> ErrorDialog.cpp:110: call of overloaded `setNum(const apr_uint64_t&, int)' is
> ambiguous

Hmm, Qt 3.1 doesn't have an setNum overload for 64 bit types. I'll fix it.

You can add a long cast to the setNum parameter or simply comment out the
line. This code isn't used on Unix.

--
Martin

Subcommander, http://subcommander.tigris.org
a cross platform Win32/Unix/MacOSX subversion gui client & diff/merge tool.
____________________​____________________​____________________​__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

Subcommander building on Redhat Enterprise 3 or Fedora Core 1.

Author Edward dot Younk at hitachigst dot com
Full name Edward dot Younk at hitachigst dot com
Date 2005-07-05 18:17:35 PDT
Message Hi,

q
I am having trouble compiling the latest subcommander version 0.11.1 on
both RH Ent 3 and Fedora Core 1. These systems have boost 1.30.2, APR
0.9.4-2.1 and Ot 3.1. I would realy appreciate any help you could give
me.

Thanks,

The first of many compile errors occurs in ErrorDialog.cpp:


make all-recursive
make[1]: Entering directory `/root/subcommander-0.11.1-src'
Making all in util
make[2]: Entering directory `/root/subcommander-​0.11.1-src/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/subcommander-​0.11.1-src/util'
Making all in svn
make[2]: Entering directory `/root/subcommander-​0.11.1-src/svn'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/subcommander-​0.11.1-src/svn'
Making all in sublib
make[2]: Entering directory `/root/subcommander-​0.11.1-src/sublib'
source='ErrorDialog.cpp' object='ErrorDialog.o' libtool=no \
depfile='.deps/ErrorDialog.Po' tmpdepfile='.deps/Er​rorDialog.TPo' \
depmode=gcc3 /bin/sh ../ac-helpers/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/qt-3.1/include
-I/usr/local/include​/subversion-1 -I/usr/include/apr-0
-I/usr/include/apr-0 -DSCDIR=\"/usr/loca​l/share/subcommander​\" -g -O2 -c
-o ErrorDialog.o `test -f 'ErrorDialog.cpp' || echo './'`ErrorDialog.cpp
ErrorDialog.cpp: In member function `void ErrorDialog::setup(const
sc::Error*,
   const Stackframes&)':
ErrorDialog.cpp:110: call of overloaded `setNum(const apr_uint64_t&, int)'
is
   ambiguous
/usr/lib/qt-3.1/incl​ude/qstring.h:860: candidates are: QString&
   QString::setNum(short int, int = 10)
/usr/lib/qt-3.1/incl​ude/qstring.h:863: QString&
   QString::setNum(short unsigned int, int = 10)
/usr/lib/qt-3.1/incl​ude/qstring.h:866: QString&
   QString::setNum(int, int = 10)
/usr/lib/qt-3.1/incl​ude/qstring.h:869: QString&
   QString::setNum(unsigned int, int = 10)
/usr/lib/qt-3.1/incl​ude/qstring.h:557: QString&
   QString::setNum(long int, int = 10)
/usr/lib/qt-3.1/incl​ude/qstring.h:558: QString&
   QString::setNum(long unsigned int, int = 10)
/usr/lib/qt-3.1/incl​ude/qstring.h:872: QString&
   QString::setNum(float, char = 'g', int = 6)
/usr/lib/qt-3.1/incl​ude/qstring.h:560: QString&
   QString::setNum(double, char = 'g', int = 6)
make[2]: *** [ErrorDialog.o] Error 1
make[2]: Leaving directory `/root/subcommander-​0.11.1-src/sublib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/subcommander-0.11.1-src'
make: *** [all] Error 2





Edward Younk
Firmware/Hardware Engineer
Hitachi Global Storage Technologies
office: (507) 322-2116, fax: (507) 322-2400
Internet: Edward dot Younk at hgst dot com
Attachments
Messages per page: