[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-redhat-users
Subject:    kde-redhat-users digest, Vol 1 #1192 - 6 msgs
From:       kde-redhat-users-request () lists ! sourceforge ! net
Date:       2006-04-22 3:16:13
Message-ID: 20060422031703.9439A89B92 () sc8-sf-spam1 ! sourceforge ! net
[Download RAW message or body]

Send kde-redhat-users mailing list submissions to
	kde-redhat-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/kde-redhat-users
or, via email, send a message with subject or body 'help' to
	kde-redhat-users-request@lists.sourceforge.net

You can reach the person managing the list at
	kde-redhat-users-admin@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kde-redhat-users digest..."



Today's Topics:

   1. Re: rebuilding qt from SRPM (Rex Dieter)
   2. Re: Re: rebuilding qt from SRPM (Rex Dieter)
   3. Re: Re: rebuilding qt from SRPM (Tim Wunder)
   4. Re: Re: rebuilding qt from SRPM (Rex Dieter)
   5. Error rebuilding kdelibs (Tim Wunder)
   6. Re: Error rebuilding kdelibs (Rex Dieter)

[Attachment #4 (multipart/digest)]
--__--__--

Message: 1
Message-ID: <4448C1E3.9090305@math.unl.edu>
Date: Fri, 21 Apr 2006 06:28:35 -0500
From: Rex Dieter <rdieter@math.unl.edu>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: kde-redhat-users@lists.sourceforge.net
References: <200604201406.13178.tim@thewunders.org> <4447F396.3040806@math.unl.edu> \
                <200604202220.10893.tim@thewunders.org>
In-Reply-To: <200604202220.10893.tim@thewunders.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [kde-redhat-users] Re: rebuilding qt from SRPM
Sender: kde-redhat-users-admin@lists.sourceforge.net
Precedence: bulk
Reply-To: kde-redhat-users@lists.sourceforge.net
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Id: General discussion for kde-redhat users <kde-redhat-users.lists.sourceforge.net>
List-Post: <mailto:kde-redhat-users@lists.sourceforge.net>
List-Help: <mailto:kde-redhat-users-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=kde-redhat-users>

Tim Wunder wrote:
> On Thursday 20 April 2006 4:48 pm, Rex Dieter wrote:
> > Tim Wunder wrote:
> > > I'm attempting to rebuild the qt SRPM and ran into this:
> > > 
> > > $ rpmbuild -ba --target=athlon qt.spec
> > > Building target platforms: athlon
> > > Building for target athlon
> > > error: Failed build dependencies:
> > > XFree86-Mesa-libGL is needed by qt-3.3.6-2.0.athlon
> > > XFree86-Mesa-libGLU is needed by qt-3.3.6-2.0.athlon
> > > 
> > > How do I work around this on Fedora Core 4?
> > $ rpmbuild -ba --define "fedora 4" qt.spec
> > 
> 
> OK, so that affects the "## X11 support" section, right?
> Without the "--define "fedora 4""  part, %if "%{?fedora}" > "4" does not 
> redefine x_deps for the proper build requirements. 

I'll have to look at that again.  I may have goofed it up.

-- Rex


--__--__--

Message: 2
Message-ID: <4448C471.4060707@math.unl.edu>
Date: Fri, 21 Apr 2006 06:39:29 -0500
From: Rex Dieter <rdieter@math.unl.edu>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: kde-redhat-users@lists.sourceforge.net
Subject: Re: [kde-redhat-users] Re: rebuilding qt from SRPM
References: <200604201406.13178.tim@thewunders.org> <4447F396.3040806@math.unl.edu> \
                <200604202220.10893.tim@thewunders.org> <4448C1E3.9090305@math.unl.edu>
In-Reply-To: <4448C1E3.9090305@math.unl.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Sender: kde-redhat-users-admin@lists.sourceforge.net
Precedence: bulk
Reply-To: kde-redhat-users@lists.sourceforge.net
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Id: General discussion for kde-redhat users <kde-redhat-users.lists.sourceforge.net>
List-Post: <mailto:kde-redhat-users@lists.sourceforge.net>
List-Help: <mailto:kde-redhat-users-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=kde-redhat-users>

Rex Dieter wrote:
> Tim Wunder wrote:
> > On Thursday 20 April 2006 4:48 pm, Rex Dieter wrote:
> > > Tim Wunder wrote:
> > > > I'm attempting to rebuild the qt SRPM and ran into this:
> > > > 
> > > > $ rpmbuild -ba --target=athlon qt.spec
> > > > Building target platforms: athlon
> > > > Building for target athlon
> > > > error: Failed build dependencies:
> > > > XFree86-Mesa-libGL is needed by qt-3.3.6-2.0.athlon
> > > > XFree86-Mesa-libGLU is needed by qt-3.3.6-2.0.athlon
> > > > 
> > > > How do I work around this on Fedora Core 4?
> > > $ rpmbuild -ba --define "fedora 4" qt.spec
> > > 
> > OK, so that affects the "## X11 support" section, right?
> > Without the "--define "fedora 4""  part, %if "%{?fedora}" > "4" does not 
> > redefine x_deps for the proper build requirements. 

> I'll have to look at that again.  I may have goofed it up.

Nope, it's right as is.  This snippet should catch fedora4:

%if "%{?fedora}" > "1"
%define x_deps xorg-x11-devel libGL-devel libGLU-devel
%endif

-- Rex


--__--__--

Message: 3
Date: Fri, 21 Apr 2006 09:02:05 -0400
From: Tim Wunder <tim@thewunders.org>
Subject: Re: [kde-redhat-users] Re: rebuilding qt from SRPM
In-reply-to: <4448C471.4060707@math.unl.edu>
To: kde-redhat-users@lists.sourceforge.net
Message-id: <200604210902.18951.tim@thewunders.org>
MIME-version: 1.0
Content-type: multipart/signed; boundary=nextPart3546412.Uh6VyAjQv3;
 protocol="application/pgp-signature"; micalg=pgp-sha1
Content-transfer-encoding: 7bit
References: <200604201406.13178.tim@thewunders.org>
 <4448C1E3.9090305@math.unl.edu> <4448C471.4060707@math.unl.edu>
User-Agent: KMail/1.9.1
Sender: kde-redhat-users-admin@lists.sourceforge.net
Precedence: bulk
Reply-To: kde-redhat-users@lists.sourceforge.net
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Id: General discussion for kde-redhat users <kde-redhat-users.lists.sourceforge.net>
List-Post: <mailto:kde-redhat-users@lists.sourceforge.net>
List-Help: <mailto:kde-redhat-users-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=kde-redhat-users>



On Friday 21 April 2006 7:39 am, Rex Dieter wrote:
> Rex Dieter wrote:
> > Tim Wunder wrote:
> >> On Thursday 20 April 2006 4:48 pm, Rex Dieter wrote:
> >>> Tim Wunder wrote:
> >>>> I'm attempting to rebuild the qt SRPM and ran into this:
> >>>>
> >>>> $ rpmbuild -ba --target=athlon qt.spec
> >>>> Building target platforms: athlon
> >>>> Building for target athlon
> >>>> error: Failed build dependencies:
> >>>>         XFree86-Mesa-libGL is needed by qt-3.3.6-2.0.athlon
> >>>>         XFree86-Mesa-libGLU is needed by qt-3.3.6-2.0.athlon
> >>>>
> >>>> How do I work around this on Fedora Core 4?
> >>>
> >>> $ rpmbuild -ba --define "fedora 4" qt.spec
> >>
> >> OK, so that affects the "## X11 support" section, right?
> >> Without the "--define "fedora 4""  part, %if "%{?fedora}" > "4" does not
> >> redefine x_deps for the proper build requirements.
> >
> > I'll have to look at that again.  I may have goofed it up.
>
> Nope, it's right as is.  This snippet should catch fedora4:
>
> %if "%{?fedora}" > "1"
> %define x_deps xorg-x11-devel libGL-devel libGLU-devel
> %endif
>

OK. Right. the line I referenced had '>' "4" not '>=' "4". OK. It's making 
more sense to me now.
But what happens when the "-- define "fedora 4"" does not get passed? I'm 
still unclear about that :/

Thanks, 
Tim

-- 
Fedora Core release 4 (Stentz), Linux 2.6.16-tim
KDE: 3.5.2-1.2.fc4.kde, xorg-x11-6.8.2-37.FC4.49.2
 08:50:13 up 2 days, 23:22,  1 user,  load average: 7.70, 5.44, 2.45
MP3/OGG archive Total playlength : 7 days, 21 hours, 42 mins 58 seconds
"It's what you learn after you know it all that counts" John Wooden

[Attachment #7 (application/pgp-signature)]
[Attachment #8 (.)]

Tim Wunder wrote:

>> Nope, it's right as is.  This snippet should catch fedora4:
>>
>> %if "%{?fedora}" > "1"
>> %define x_deps xorg-x11-devel libGL-devel libGLU-devel
>> %endif
>>
> 
> OK. Right. the line I referenced had '>' "4" not '>=' "4". OK. It's making 
> more sense to me now.

Yep, the line you referenced actually pertains to fc5+.  5 *is* > 4.  (-:

> But what happens when the "-- define "fedora 4"" does not get passed? I'm 
> still unclear about that :/

Undefined.  Our build environment assumes you define one of:
rhl
rhel
fedora
to match the release of the distro you're using.

-- Rex


--__--__--

Message: 5
Date: Fri, 21 Apr 2006 14:36:15 -0400
From: Tim Wunder <tim@thewunders.org>
To: kde-redhat-users@lists.sourceforge.net
Message-id: <200604211436.24182.tim@thewunders.org>
MIME-version: 1.0
Content-type: multipart/signed; boundary=nextPart39507760.IrxrZv46mD;
 protocol="application/pgp-signature"; micalg=pgp-sha1
Content-transfer-encoding: 7bit
User-Agent: KMail/1.9.1
Subject: [kde-redhat-users] Error rebuilding kdelibs
Sender: kde-redhat-users-admin@lists.sourceforge.net
Precedence: bulk
Reply-To: kde-redhat-users@lists.sourceforge.net
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Id: General discussion for kde-redhat users <kde-redhat-users.lists.sourceforge.net>
List-Post: <mailto:kde-redhat-users@lists.sourceforge.net>
List-Help: <mailto:kde-redhat-users-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=kde-redhat-users>


I've successfully rebuilt the kernel, qt and arts from SRPM and am now 
attempting to rebuild kdelibs and am running into this error:
$ time rpmbuild -ba --target=athlon --define "fedora 4" kdelibs.spec
...
*** Creating aclocal.m4
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/libole2.m4:18: warning: underquoted definition of 
AM_PATH_LIBOLE2
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
    Don't forget to run ./configure
    If you haven't done so in a while, run ./configure --help
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.30622
+ umask 022
+ cd /music/SRPMs/redhat/BUILD
+ cd kdelibs-3.5.2
+ LANG=C
+ export LANG
+ unset DISPLAY
+ unset QTDIR
+ . /etc/profile.d/qt.sh
++ '[' -z '' ']'
++ QTDIR=/usr/lib/qt-3.3
++ QTINC=/usr/lib/qt-3.3/include
++ QTLIB=/usr/lib/qt-3.3/lib
++ export QTDIR QTINC QTLIB
+ export QTDOC=/usr/share/doc/kdelibs-devel-3.3.6
+ QTDOC=/usr/share/doc/kdelibs-devel-3.3.6
+ '[' -x /etc/profile.d/krb5.sh ']'
+ . /etc/profile.d/krb5.sh
++ grep -q /usr/kerberos/bin
++ 
echo /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/dad/bin
++ 
echo /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/dad/bin
++ grep -q /usr/kerberos/sbin
+++ id -u
++ '[' 500 = 0 ']'
+ export libltdl_cv_shlibext=.so
+ libltdl_cv_shlibext=.so
++ sed -e 's|linux/inotify.h||'
++ head -1
++ 
find /usr/src/kernels/2.6.15-1.1833_FC4-i686/include/linux/inotify.h \
/usr/src/kernels/2.6.16-1.2069_FC4-i686/include/linux/inotify.h -print + export 'CPPFLAGS= \
-I/usr/src/kernels/2.6.15-1.1833_FC4-i686/include/' + CPPFLAGS=' \
-I/usr/src/kernels/2.6.15-1.1833_FC4-i686/include/' ++ cat /etc/redhat-release
+ '--with-distribution=Fedora Core release 4 
(Stentz)' --includedir=/usr/include/kde --disable-rpath --disable-gcc-hidden-visibility \
--enable-new-ldflags --disable-debug --disable-warnings --disable-dependancy-tracking \
--enable-final --enable-cups --enable-mitshm --enable-sendfile --with-xinerama --with-alsa \
--with-aspell --with-tiff --disable-dnotify --enable-dnssd --enable-inotify --disable-libfam \
                --disable-fast-malloc --with-acl --with-jasper --with-lua --with-openexr
/var/tmp/rpm-tmp.30622: line 47: --with-distribution=Fedora Core release 4 
(Stentz): command not found
error: Bad exit status from /var/tmp/rpm-tmp.30622 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.30622 (%build)

What am I doing wrong *this* time?

Tim
-- 
Fedora Core release 4 (Stentz), Linux 2.6.16-tim
KDE: 3.5.2-1.2.fc4.kde, xorg-x11-6.8.2-37.FC4.49.2
 14:30:06 up 3 days,  5:02,  1 user,  load average: 0.56, 0.81, 1.04
MP3/OGG archive Total playlength : 7 days, 21 hours, 42 mins 58 seconds
"It's what you learn after you know it all that counts" John Wooden


[Attachment #11 (application/pgp-signature)]
--__--__--

Message: 6
Message-ID: <44493100.3070509@math.unl.edu>
Date: Fri, 21 Apr 2006 14:22:40 -0500
From: Rex Dieter <rdieter@math.unl.edu>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
To: kde-redhat-users@lists.sourceforge.net
Subject: Re: [kde-redhat-users] Error rebuilding kdelibs
References: <200604211436.24182.tim@thewunders.org>
In-Reply-To: <200604211436.24182.tim@thewunders.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Sender: kde-redhat-users-admin@lists.sourceforge.net
Precedence: bulk
Reply-To: kde-redhat-users@lists.sourceforge.net
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Id: General discussion for kde-redhat users <kde-redhat-users.lists.sourceforge.net>
List-Post: <mailto:kde-redhat-users@lists.sourceforge.net>
List-Help: <mailto:kde-redhat-users-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/kde-redhat-users>,
	<mailto:kde-redhat-users-request@lists.sourceforge.net?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=kde-redhat-users>

Tim Wunder wrote:
> I've successfully rebuilt the kernel, qt and arts from SRPM and am now 
> attempting to rebuild kdelibs and am running into this error:
> $ time rpmbuild -ba --target=athlon --define "fedora 4" kdelibs.spec
...
> find /usr/src/kernels/2.6.15-1.1833_FC4-i686/include/linux/inotify.h \
> /usr/src/kernels/2.6.16-1.2069_FC4-i686/include/linux/inotify.h -print + export 'CPPFLAGS= \
> -I/usr/src/kernels/2.6.15-1.1833_FC4-i686/include/' + CPPFLAGS=' \
> -I/usr/src/kernels/2.6.15-1.1833_FC4-i686/include/' ++ cat /etc/redhat-release
> + '--with-distribution=Fedora Core release 4 
> (Stentz)' --includedir=/usr/include/kde --disable-rpath --disable-gcc-hidden-visibility \
> --enable-new-ldflags --disable-debug --disable-warnings --disable-dependancy-tracking \
> --enable-final --enable-cups --enable-mitshm --enable-sendfile --with-xinerama --with-alsa \
> --with-aspell --with-tiff --disable-dnotify --enable-dnssd --enable-inotify --disable-libfam \
>                 --disable-fast-malloc --with-acl --with-jasper --with-lua --with-openexr
> /var/tmp/rpm-tmp.30622: line 47: --with-distribution=Fedora Core release 4 
> (Stentz): command not found
> error: Bad exit status from /var/tmp/rpm-tmp.30622 (%build)
> 
> 
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.30622 (%build)
> 
> What am I doing wrong *this* time?

My bad.  In my hasty fix to make kdelibs-apidocs arch-specific (for
fc5), I broke the regular build.  Just fetch the latest SPEC
http://apt.kde-redhat.org/apt/kde-redhat/SPECS/kdelibs.spec
and/or latest respun kdelibs.src.rpm

-- Rex




--__--__----



_______________________________________________
kde-redhat-users mailing list
kde-redhat-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kde-redhat-users

End of kde-redhat-users Digest

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic