Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: devel

italc on Fedora 8

 

 

atrpms devel RSS feed   Index | Next | Previous | View Threaded


promac at gmail

Aug 10, 2008, 5:12 PM

Post #1 of 8 (1779 views)
Permalink
italc on Fedora 8

Hi,

I saw that italc did not build on F8.
The fix is easy. Just need to use --with-qtdir:

http://people.atrpms.net/~pcavalcanti/srpms/italc-1.0.9-2.fc8.src.rpm

Thanks.

--
Paulo Roma Cavalcanti
LCG - UFRJ


Axel.Thimm at ATrpms

Aug 10, 2008, 9:49 PM

Post #2 of 8 (1706 views)
Permalink
Re: italc on Fedora 8 [In reply to]

Hi Paulo,

On Sun, Aug 10, 2008 at 09:12:54PM -0300, Paulo Cavalcanti wrote:
> Hi,
>
> I saw that italc did not build on F8.

it did build, I only updated the F9-x86_64 repo for some other reasons.

> The fix is easy. Just need to use --with-qtdir:
>
> http://people.atrpms.net/~pcavalcanti/srpms/italc-1.0.9-2.fc8.src.rpm
--
Axel.Thimm at ATrpms.net


promac at gmail

Aug 11, 2008, 2:03 AM

Post #3 of 8 (1718 views)
Permalink
Re: italc on Fedora 8 [In reply to]

On Mon, Aug 11, 2008 at 1:49 AM, Axel Thimm <Axel.Thimm [at] atrpms> wrote:

> Hi Paulo,
>
> On Sun, Aug 10, 2008 at 09:12:54PM -0300, Paulo Cavalcanti wrote:
> > Hi,
> >
> > I saw that italc did not build on F8.
>
> it did build, I only updated the F9-x86_64 repo for some other reasons.
>
> > The fix is easy. Just need to use --with-qtdir:
> >
> > http://people.atrpms.net/~pcavalcanti/srpms/italc-1.0.9-2.fc8.src.rpm<http://people.atrpms.net/%7Epcavalcanti/srpms/italc-1.0.9-2.fc8.src.rpm>
> --
>


It does not build for me without specifying where qt4 is. It does not matter
if I use mock or not:

checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking QTDIR... configure: error: *** QTDIR must be defined, or
--with-qtdir option given
error: Bad exit status from /home/roma/redhat/tmp/rpm-tmp.23960 (%build)


RPM build errors:
Bad exit status from /home/roma/redhat/tmp/rpm-tmp.23960 (%build)

--
Paulo Roma Cavalcanti
LCG - UFRJ


Axel.Thimm at ATrpms

Aug 11, 2008, 4:03 AM

Post #4 of 8 (1717 views)
Permalink
Re: italc on Fedora 8 [In reply to]

Hi,

On Mon, Aug 11, 2008 at 06:03:18AM -0300, Paulo Cavalcanti wrote:
> On Mon, Aug 11, 2008 at 1:49 AM, Axel Thimm <Axel.Thimm [at] atrpms> wrote:
> > On Sun, Aug 10, 2008 at 09:12:54PM -0300, Paulo Cavalcanti wrote:
> > > I saw that italc did not build on F8.
> >
> > it did build, I only updated the F9-x86_64 repo for some other reasons.
>
> It does not build for me without specifying where qt4 is. It does not matter
> if I use mock or not:
>
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking QTDIR... configure: error: *** QTDIR must be defined, or
> --with-qtdir option given
> error: Bad exit status from /home/roma/redhat/tmp/rpm-tmp.23960 (%build)

I get:

The following extra packages will be installed:
chkconfig dbus dbus-libs desktop-file-utils device-mapper device-mapper-devel
device-mapper-libs e2fsprogs-devel e2fsprogs-libs expat fontconfig
fontconfig-devel freetype freetype-devel gcc-c++ glib2 initscripts
keyutils-libs keyutils-libs-devel krb5-devel krb5-libs lcms lcms-libs libICE
libICE-devel libSM libSM-devel libX11 libX11-devel libXau libXau-devel libXaw
libXcursor libXcursor-devel libXdamage libXdamage-devel libXdmcp
libXdmcp-devel libXext libXext-devel libXfixes libXfixes-devel libXft
libXft-devel libXi libXi-devel libXinerama libXinerama-devel libXmu libXpm
libXrandr libXrandr-devel libXrender libXrender-devel libXt libXt-devel
libXtst libXtst-devel libXxf86vm libcap libdrm libjpeg libjpeg-devel libmng
libpng libpng-devel libselinux-devel libsepol-devel libstdc++-devel libtiff
libxcb libxcb-devel mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel
nas openssl openssl-devel pkgconfig qt4 qt4-devel qt4-x11 xorg-x11-filesystem
xorg-x11-proto-devel zlib-devel
The following NEW packages will be installed:
bach-build-deps-21734 chkconfig dbus dbus-libs desktop-file-utils
device-mapper device-mapper-devel device-mapper-libs e2fsprogs-devel
e2fsprogs-libs expat fontconfig fontconfig-devel freetype freetype-devel
gcc-c++ glib2 initscripts keyutils-libs keyutils-libs-devel krb5-devel
krb5-libs lcms lcms-libs libICE libICE-devel libSM libSM-devel libX11
libX11-devel libXau libXau-devel libXaw libXcursor libXcursor-devel
libXdamage libXdamage-devel libXdmcp libXdmcp-devel libXext libXext-devel
libXfixes libXfixes-devel libXft libXft-devel libXi libXi-devel libXinerama
libXinerama-devel libXmu libXpm libXrandr libXrandr-devel libXrender
libXrender-devel libXt libXt-devel libXtst libXtst-devel libXxf86vm libcap
libdrm libjpeg libjpeg-devel libmng libpng libpng-devel libselinux-devel
libsepol-devel libstdc++-devel libtiff libxcb libxcb-devel mesa-libGL
mesa-libGL-devel mesa-libGLU mesa-libGLU-devel nas openssl openssl-devel
pkgconfig qt4 qt4-devel qt4-x11 xorg-x11-filesystem xorg-x11-proto-devel
zlib-devel
0 upgraded, 87 newly installed, 0 removed and 1 not upgraded.
[...]
qt4-4.3.5-1.fc8
[...]
qt4-devel-4.3.5-1.fc8
[...]
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking QTDIR... /usr
checking Qt includes... /usr/include
[...]

Are you using all updates on F8?
--
Axel.Thimm at ATrpms.net


rdieter at math

Aug 11, 2008, 7:24 AM

Post #5 of 8 (1706 views)
Permalink
Re: italc on Fedora 8 [In reply to]

Axel Thimm wrote:

> [...]
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking QTDIR... /usr
> checking Qt includes... /usr/include
> [...]
>
> Are you using all updates on F8?

Be aware that f8's qt(3)-devel pkg defines QTDIR, and which sometimes may conflict (ie, be wrong) for qt4 builds.

-- Rex



_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


promac at gmail

Aug 11, 2008, 9:34 AM

Post #6 of 8 (1712 views)
Permalink
Re: italc on Fedora 8 [In reply to]

On Mon, Aug 11, 2008 at 11:24 AM, Rex Dieter <rdieter [at] math> wrote:

> Axel Thimm wrote:
>
> > [...]
> > checking for shmat... yes
> > checking for IceConnectionNumber in -lICE... yes
> > checking QTDIR... /usr
> > checking Qt includes... /usr/include
> > [...]
> >
> > Are you using all updates on F8?
>
> Be aware that f8's qt(3)-devel pkg defines QTDIR, and which sometimes may
> conflict (ie, be wrong) for qt4 builds.
>
>
I think that is exactly the problem.
Just using configure like below makes it work ever:

%configure \
--with-qtdir=%{_prefix} \
--docdir=%{_defaultdocdir}/%{name}-%{version}

By the way, Rex, eric 4.2 is available, but I was only able to build it as
root,
because it tries to write on

/usr/share/qt4/qsci/api/ruby

during the installation. It also required qscintilla-2.2,
which I downloaded from F10. It would be nice to have eric 4.2 for F10
also...

Thanks.

--
Paulo Roma Cavalcanti
LCG - UFRJ


Axel.Thimm at ATrpms

Aug 11, 2008, 11:05 AM

Post #7 of 8 (1696 views)
Permalink
Re: italc on Fedora 8 [In reply to]

On Mon, Aug 11, 2008 at 01:34:00PM -0300, Paulo Cavalcanti wrote:
> On Mon, Aug 11, 2008 at 11:24 AM, Rex Dieter <rdieter [at] math> wrote:
>
> > Axel Thimm wrote:
> >
> > > [...]
> > > checking for shmat... yes
> > > checking for IceConnectionNumber in -lICE... yes
> > > checking QTDIR... /usr
> > > checking Qt includes... /usr/include
> > > [...]
> > >
> > > Are you using all updates on F8?
> >
> > Be aware that f8's qt(3)-devel pkg defines QTDIR, and which sometimes may
> > conflict (ie, be wrong) for qt4 builds.

> I think that is exactly the problem.

But you mentioned that it also failed in mock, i.e. in an environment
w/o qt3. I checked the buildlog and indeed only qt4 packages and no
qt(3) packages were installed.
--
Axel.Thimm at ATrpms.net


promac at gmail

Aug 11, 2008, 12:34 PM

Post #8 of 8 (1709 views)
Permalink
Re: italc on Fedora 8 [In reply to]

On Mon, Aug 11, 2008 at 3:05 PM, Axel Thimm <Axel.Thimm [at] atrpms> wrote:

> On Mon, Aug 11, 2008 at 01:34:00PM -0300, Paulo Cavalcanti wrote:
> > On Mon, Aug 11, 2008 at 11:24 AM, Rex Dieter <rdieter [at] math>
> wrote:
> >
> > > Axel Thimm wrote:
> > >
> > > > [...]
> > > > checking for shmat... yes
> > > > checking for IceConnectionNumber in -lICE... yes
> > > > checking QTDIR... /usr
> > > > checking Qt includes... /usr/include
> > > > [...]
> > > >
> > > > Are you using all updates on F8?
> > >
> > > Be aware that f8's qt(3)-devel pkg defines QTDIR, and which sometimes
> may
> > > conflict (ie, be wrong) for qt4 builds.
>
> > I think that is exactly the problem.
>
> But you mentioned that it also failed in mock, i.e. in an environment
> w/o qt3. I checked the buildlog and indeed only qt4 packages and no
> qt(3) packages were installed.
>

But I probably did not clean the cache.
In this case, mock keeps previously installed packages.

Generally, I only clean the cache when I want to be sure a new
package builds only with the dependencies in its spec file.
Since I assumed italc had all its dependencies correctly specified in the
spec,
I just took the fastest way...

The option --with-qtdir is harmless, and allows building the package
in a user environment.

Qt is always a pain in the neck to set the appropriate environment when
there
is more than one version installed. That is why I always take a look at
Rex's Qt based packages.

--
Paulo Roma Cavalcanti
LCG - UFRJ

atrpms devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.