From danielt@camelot.de  Tue Aug 20 01:22:45 2002
Return-Path: <danielt@camelot.de>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F04DF37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 Aug 2002 01:22:45 -0700 (PDT)
Received: from teamware-gmbh.de (mail.camelot.de [212.29.0.11])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8657F43E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 Aug 2002 01:22:44 -0700 (PDT)
	(envelope-from danielt@camelot.de)
Received: from [217.19.160.20] (HELO robin.camelot.de)
  by teamware-gmbh.de (CommuniGate Pro SMTP 3.5.9)
  with ESMTP-TLS id 2799409 for FreeBSD-gnats-submit@freebsd.org; Tue, 20 Aug 2002 10:22:43 +0200
Received: (from danielt@localhost)
	by robin.camelot.de (8.11.6/8.11.6) id g7K8Mhu85197;
	Tue, 20 Aug 2002 10:22:43 +0200 (CEST)
Message-Id: <200208200822.g7K8Mhu85197@robin.camelot.de>
Date: Tue, 20 Aug 2002 10:22:43 +0200 (CEST)
From: Danijel Tasov <danielt@camelot.de>
Reply-To: Danijel Tasov <danielt@camelot.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: /usr/ports/german/openoffice: configure on mozilla subprojekt fails
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41810
>Category:       ports
>Synopsis:       /usr/ports/german/openoffice: configure on mozilla subprojekt fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    openoffice
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 20 01:30:02 PDT 2002
>Closed-Date:    Wed Aug 21 03:55:15 PDT 2002
>Last-Modified:  Wed Aug 21 03:55:15 PDT 2002
>Originator:     Danijel Tasov
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
>Environment:
FreeBSD knast 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #7: Fri Aug 16 14:00:46 CEST 2002     knarf@knast:/usr/obj/usr/src/sys/KNAST  i386

	i386, FreeBSD, i386, qt libraries
>Description:
configure skript of the mozilla sub projekt fails:

===>  Building for de-openoffice-1.0.1_3
===>  Extracting mozilla sub project
===>  Building mozilla sub project
===>  Configuring for mozilla-1.0_2,1
Adding configure options from /home/danielt/.mozconfig:
  --enable-toolkit-qt
  --disable-mailnews
  --disable-ldap
  --disable-jsd
  --enable-plaintext-editor-only
  --disable-installer
  --enable-boehm
  --prefix=/home/danielt/src/mozilla/built
loading cache ./config.cache
checking host system type... i386-portbld-freebsd4.6.2
[...]
checking for png_get_valid in -lpng... yes
checking for mng_initialize in -lmng... yes
checking for gtk-config... /usr/X11R6/bin/gtk12-config
checking for GTK - version >= 1.2.0... yes
checking for moc... moc
checking Qt - version >= 2.2.0... no
configure: error: Qt Mozilla requires at least version 2.2.0 of Qt
===>  Script "configure" failed unexpectedly.
      Please report the problem to gnome@FreeBSD.org [maintainer] and attach
      the
      "/home/portswork/home/portswork/home/ports/german/openoffice/work/mozilla/work/mozilla/config.log"
      including the output of the failure of your make command. Also, it might
      be a good idea to provide an overview of all packages installed on your
      system (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /home/portswork/home/ports/german/openoffice/work/mozilla.
*** Error code 1

Stop in /home/ports/german/openoffice.
*** Error code 1

Stop in /home/ports/german/openoffice.
*** Error code 1

Stop in /home/ports/german/openoffice.
zsh: exit 1     SU make
zsh: exit 1

Last view lines of
/home/portswork/home/portswork/home/ports/german/openoffice/work/mozilla/work/mozilla/config.log

configure:9338: gcc31 -o conftest -I/usr/local/include  -O -pipe -march=pentium -fshort-wchar   -I/usr/X11R6/include  -I/usr/X11R6/include -L/usr/local/lib  -lz  conftest.c -lmng  -lm  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:9380: gcc31 -o conftest -I/usr/local/include  -O -pipe -march=pentium -fshort-wchar   -I/usr/X11R6/include  -I/usr/X11R6/include -L/usr/local/lib  -lz  conftest.c -lmng  -lm  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 9366 "configure"
#include "confdefs.h"
#include <stdio.h>
	#include <sys/types.h>
	#include <libmng.h>
	int main () {
	    #if (((MNG_VERSION_MAJOR)<<16)|((MNG_VERSION_MINOR)<<8)|(MNG_VERSION_RELEASE)) >= ((1<<16)|(0<<8)|(4))
		exit(0);
	    #else
		exit(1);
	    #endif
	}
	
configure:9597: checking for gtk-config
configure:9632: checking for GTK - version >= 1.2.0
configure:9733: gcc31 -o conftest -O -pipe -march=pentium -fshort-wchar -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include   -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/usr/libexec/elf/ld: warning: libintl.so.2, needed by /usr/X11R6/lib/libgtk12.so, may conflict with libintl.so.4
configure:10015: checking for moc
configure:10101: checking Qt - version >= 2.2.0
configure:10114: g++31 -c  -O -pipe -march=pentium -fshort-wchar -I/usr/include/X11/qt -DQT_GENUINE_STR   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:10104:21: qglobal.h: No such file or directory
[
  qglobal.h is located in /usr/X11R6/include/qt2/qglobal.
  but there is no -I/usr/X11R6/include/qt2 resp. no #include <qt2/qglobal.h>
]
configure:10108:14: #error "QT_VERSION too old"
configure: failed program was:
#line 10103 "configure"
#include "confdefs.h"
#include <qglobal.h>
int main() {

        #if (QT_VERSION < 220)
            #error  "QT_VERSION too old"
        #endif
    
; return 0; }

>How-To-Repeat:
	cd /usr/ports/german/openoffice; make
>Fix:
	I don't have a patch, but see description.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->openoffice 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Tue Aug 20 05:38:35 PDT 2002 
Responsible-Changed-Why:  
Over to maintainer(s) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41810 
State-Changed-From-To: open->closed 
State-Changed-By: mbr 
State-Changed-When: Wed Aug 21 03:52:58 PDT 2002 
State-Changed-Why:  
Please read your log carefully and then you'll 
see these lines: 

Adding configure options from /home/danielt/.mozconfig: 
--enable-toolkit-qt 

Which means that you just have to delete this file to 
make it working again. Don't enable qt if you don't have 
it installed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41810 
>Unformatted:
