From owner-freebsd-ports Tue Jan 15 10:19:47 2002 Delivered-To: freebsd-ports@freebsd.org Received: from www.unsam.edu.ar (ns2.unsam.edu.ar [170.210.48.2]) by hub.freebsd.org (Postfix) with ESMTP id 1F15237B404 for ; Tue, 15 Jan 2002 10:19:36 -0800 (PST) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by www.unsam.edu.ar (8.9.3/8.9.3) with ESMTP id PAA37849; Tue, 15 Jan 2002 15:19:33 -0300 (ART) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.11.3/8.11.3) id g0FIJPT73317; Tue, 15 Jan 2002 15:19:25 -0300 (ART) (envelope-from fernan) Date: Tue, 15 Jan 2002 15:19:25 -0300 From: Fernan Aguero To: FreeBSD-bio Cc: ports@freebsd.org Subject: building kaptain on FreeBSD (preparing a port) Message-ID: <20020115151925.B64862@iib.unsam.edu.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP-Key: http://genoma.unsam.edu.ar/~fernan/pubkey.asc Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all! I'm trying to build kaptain on FreeBSD (and in the process learning to make a port). According to its author Kaptain is: a universal graphical front-end for command line programs. It works on linux/UNIX platforms whereever KDE 2 and QT 2.1 are available. http://kaptain.sourceforge.net/ +--[ Begin note for the bio people | | The relation to the bio stuff is because kaptain grammars for EMBOSS | have been released just yet, and this provides a natural GUI for EMBOSS. | +--[ End note for freebsd-bio I have both Qt2 and KDE2 installed but running 'configure' on kaptain fails with the following line: checking for Qt... configure: error: Qt (snapshot >= Qt 2.1 beta2) (headers and libraries) not found. Please check your installation! I believe that Qt in my system is qt-2.3 I tried passing configure other locations for libraries and includes but that didn't help. On my system the Qt libraries and includes appear to be at /usr/X11R6/lib and /usr/X11R6/include/qt2 Strange enough, while looking at config.log I see several failure messages like the following: configure: failed program was: #line 2124 "configure" #include "confdefs.h" ... configure: failed program was: #line 2157 "configure" #include "confdefs.h" ... and finally, configure:4455: checking for Qt tried /usr/local/lib tried /usr/local tried /usr/lib/qt/lib configure:4602: c++ -o conftest -O -pipe -INO -I/usr/X11R6/include -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.C -lqt -lXext -lX11 1>&5 conftest.C:2: qglobal.h: No such file or directory conftest.C:3: qapplication.h: No such file or directory conftest.C:4: qapp.h: No such file or directory conftest.C:5: qobjcoll.h: No such file or directory conftest.C:6: qstring.h: No such file or directory conftest.C:7: qstyle.h: No such file or directory conftest.C:8: qiconview.h: No such file or directory conftest.C:10: #error 1 conftest.C: In function `int main()': conftest.C:14: `QStringList' undeclared (first use this function) conftest.C:14: (Each undeclared identifier is reported only once conftest.C:14: for each function it appears in.) conftest.C:14: `t' undeclared (first use this function) conftest.C:14: syntax error before `(' conftest.C:16: `iv' undeclared (first use this function) conftest.C:17: syntax error before `;' conftest.C:18: `s' undeclared (first use this function) configure: failed program was: #include "confdefs.h" #include #include #include #include #include #include #include #if ! (QT_VERSION >= 210) #error 1 #endif int main() { QStringList *t = new QStringList(); QIconView iv(0); iv.setWordWrapIconText(false); QString s; s.setLatin1("Elvis is alive", 14); return 0; } (end of "config.log") (Ask for the whole config.log if it's worth looking at it) I also tried to build a preliminary port, including bsd.port.mk in the Makefile, together with some other options (GNU_CONFIGURE=yes, USE_QT=yes). First of all, USE_QT is apparently deprecated (?). I've read it from the porter's handbook somewhere just today! [root@pi] make >>> Warning: this port needs to be updated as it uses the old-style USE_QT variable! ===> Extracting for kaptain-0.6-1.0 >> Checksum OK for kaptain-0.6.tar.gz. ===> kaptain-0.6-1.0 depends on shared library: qt.3 - not found ===> Verifying install for qt.3 in /usr/ports/x11-toolkits/qt145 [the rest is omitted for clarity] I am obviously missing something here ... this is my first attempt at building a port and neither am I familiar with makefiles and configures. However this kind of problems is not clerarly dealt with in the porter's handbook ... that's why I am turning to other porters for help :) Any idea or insight would be appreciated. Fernan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message