Compiling Gambas3

View: New views
5 Messages — Rating Filter:   Alert me  

Compiling Gambas3

by Kari Laine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I
get this error

../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
-I/usr/lib/qt3//include   -I../../share -I../../src/share   -pipe -Wall
-fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
-Os -fno-omit-frame-pointer  -MT CDial_moc.lo -MD -MP -MF
.deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp
CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't
include <QObject>."

I don't know QT enough to solve this - could someone help?

On Debian machine all compiles nicely.....


Best Regards
Kari Laine


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel

Re: Compiling Gambas3

by Kari Laine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kari Laine wrote:

> Hi,
>
> I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I
> get this error
>
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include   -I../../share -I../../src/share   -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer  -MT CDial_moc.lo -MD -MP -MF
> .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp
> CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't
> include <QObject>."
>
> I don't know QT enough to solve this - could someone help?
>
> On Debian machine all compiles nicely.....
>  
Same Problem with SUSE 11.0  - Hopefully someone would give me pointers
what to try.
Maybe I should ditch SUSE for Debian...


Best Regards
Kari Laine

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel

Re: Compiling Gambas3

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mercredi 02 juillet 2008, Kari Laine wrote:

> Kari Laine wrote:
> > Hi,
> >
> > I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I
> > get this error
> >
> > ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> > -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> > -I/usr/lib/qt3//include   -I../../share -I../../src/share   -pipe -Wall
> > -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> > -Os -fno-omit-frame-pointer  -MT CDial_moc.lo -MD -MP -MF
> > .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp
> > CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't
> > include <QObject>."
> >
> > I don't know QT enough to solve this - could someone help?
> >
> > On Debian machine all compiles nicely.....
>
> Same Problem with SUSE 11.0  - Hopefully someone would give me pointers
> what to try.
> Maybe I should ditch SUSE for Debian...
>
>
> Best Regards
> Kari Laine
>

Can you send me the *full* output of ./configure & make? And can you tell us
if you solve the problem?

--
Benoit Minisini

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel

Re: Compiling Gambas3

by Kari Laine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benoit Minisini wrote:

> On mercredi 02 juillet 2008, Kari Laine wrote:
>  
>> Kari Laine wrote:
>>    
>>> Hi,
>>>
>>> I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I
>>> get this error
>>>
>>> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
>>> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
>>> -I/usr/lib/qt3//include   -I../../share -I../../src/share   -pipe -Wall
>>> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
>>> -Os -fno-omit-frame-pointer  -MT CDial_moc.lo -MD -MP -MF
>>> .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp
>>> CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't
>>> include <QObject>."
>>>
>>> I don't know QT enough to solve this - could someone help?
>>>
>>> On Debian machine all compiles nicely.....
>>>      
>> Same Problem with SUSE 11.0  - Hopefully someone would give me pointers
>> what to try.
>> Maybe I should ditch SUSE for Debian...
>>
>>
>> Best Regards
>> Kari Laine
>>
>>    
>
> Can you send me the *full* output of ./configure & make? And can you tell us
> if you solve the problem?
>
>  
Hi,

I sended them over to your mail. Let me know if you did not receive them.

Best Regards
Kari Laine



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel

Re: Compiling Gambas3

by Kari Laine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kari Laine wrote:

> Kari Laine wrote:
>  
>> Hi,
>>
>> I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I
>> get this error
>>
>> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
>> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
>> -I/usr/lib/qt3//include   -I../../share -I../../src/share   -pipe -Wall
>> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
>> -Os -fno-omit-frame-pointer  -MT CDial_moc.lo -MD -MP -MF
>> .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp
>> CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't
>> include <QObject>."
>>
>> I don't know QT enough to solve this - could someone help?
>>
>> On Debian machine all compiles nicely.....
>>  
>>    
> Same Problem with SUSE 11.0  - Hopefully someone would give me pointers
> what to try.
> Maybe I should ditch SUSE for Debian...
>
>
> Best Regards
> Kari Laine
>  
No I am going to tell you howto shoot youself in the foot in SUSE....
This problem was caused by the fact that I had both Qt3-devel and
Qt4-devel installed. I removed Qt4-devel and reinstalled Qt3-devel and
Qt3-devel-tools with force to overwrite among others the moc-compiler
with Qt3-version. After that ./configure and make and all  was fine.
This  problem took me a day to figure out - I must be darn stupid :-)

Best Regards
Kari Laine






-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel
LightInTheBox - Buy quality products at wholesale price