From owner-freebsd-questions Thu Apr 19 4:22:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.home.nl (mail3.home.nl [213.51.129.164]) by hub.freebsd.org (Postfix) with ESMTP id 0711D37B424; Thu, 19 Apr 2001 04:22:02 -0700 (PDT) (envelope-from danny@ricin.com) Received: from ricin.localnet ([212.120.84.133]) by mail3.home.nl (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010419112119.HZDO21384.mail3.home.nl@ricin.localnet>; Thu, 19 Apr 2001 12:21:19 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Danny Pansters Reply-To: danny@ricin.com Organization: Ricin.com To: freebsd-questions@freebsd.org Subject: rpm or rpm2cpio broken?? (4.3-RC) Date: Thu, 19 Apr 2001 13:22:00 +0200 X-Mailer: KMail [version 1.2] Cc: freebsd-stable@freebsd.org MIME-Version: 1.0 Message-Id: <01041913220000.30352@ricin.localnet> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I just cvsup'ed and upgraded my desktop box from 4.2 stable (12202000) to what is now 4.3RC (04192001) including all ports I wanted to use. I used pkg_version to find out which ports needed recompiling/installation. Almost everything works, even KDE2.1, building the parts one by one. However I ran into two weird problems which look to be related: When trying to compile/install kdeutils-2.1.1 from the ports, it threw me a syntax error when compiling the rpm bits of kpackage (rpm: redhat package manager). I have pasted the output below. Looks like the RPM headers used are wrong? When trying to install the Linux RealPlayer 8 which is to be fectched manually as a RPM package it appeared to either have trouble with RPM or with rpm2cpio. I know from older posts in -questions that rpm2cpio lives in /compat/linux/bin as well as in /usr/local/bin. As the Makefile for RealPlayer seems to use the "native" one I did not attempt to change this. After all, why would they use it if it don't work? I thought that the rpm and the rpm2cpio ports were basically unrelated anyway? Error messages are below. When reinstalling rpm2cpio (hey, you never know :-) I noticed that I had to use NO_CHECKSUM=yes, as if its version number is not correct or something. I'm confused! Can someone help me out? Many thanks in advance, -- Danny Pansters http://www.ricin.com ---- ERROR OUTPUT: ---- ** kdeadmin install fail: gmake[3]: Entering directory /usr/ports/sysutils/kdeadmin/work/kdeadmin-2.1.1/kpackage' c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include/qt2 - I/usr/X11R6/include -I/usr/local/include/rpm -I/usr/include -D_GETOPT_H -D_PTH _H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/in clude/qt2 -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-bui ltin -O -pipe -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c main.cpp In file included from main.cpp:32: rpmInterface.h:16: syntax error before ;' gmake[3]: *** [main.o] Error 1 gmake[3]: Leaving directory /usr/ports/sysutils/kdeadmin/work/kdeadmin-2.1.1/kpackage' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory /usr/ports/sysutils/kdeadmin/work/kdeadmin-2.1.1/kpackage' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory /usr/ports/sysutils/kdeadmin/work/kdeadmin-2.1.1' ** /usr/ports/sysutils/work/kdeadmin-2.1.1/kpackage/rpmInterface.h:16: [...] #ifdef HAVE_RPM #include /* stupid RPM headers! */ typedef __off64_t off64_t; <-- line 16 #include #else typedef struct Header{ }; #endif [...] ** linux-realplayer8 install fail: ricin # make NO_CHECKSUM=yes install ===> Extracting for linux-realplayer-8.cs1 ===> linux-realplayer-8.cs1 depends on executable: rpm2cpio - found CPIO archive found! gzip: stdin: unexpected end of file cpio: premature end of file *** Error code 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message