Building from src.rpms

Place to discuss Mandriva Linux
Post Reply
Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Building from src.rpms

Post by Doogee » Thu Feb 06, 2003 5:27 am

ok this is gonan be massive so sorry if i kill the forum setup/layout in any way.

The problem is this:

since there is no Gaim compiled specifically for Mdk9 i though id build one from src.rpm heres what i got:
for som reason i cant paste it all in

Code: Select all

at the start/where the windows ends:


installing ko.gmo as /var/tmp/gaim-0.59.8-root/usr/share/locale/ko/LC_MESSAGES/gaim.mo
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/nl
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/nl/LC_MESSAGES
installing nl.gmo as /var/tmp/gaim-0.59.8-root/usr/share/locale/nl/LC_MESSAGES/gaim.mo
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/pl
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/pl/LC_MESSAGES
installing pl.gmo as /var/tmp/gaim-0.59.8-root/usr/share/locale/pl/LC_MESSAGES/gaim.mo
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/ru
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/ru/LC_MESSAGES
installing ru.gmo as /var/tmp/gaim-0.59.8-root/usr/share/locale/ru/LC_MESSAGES/gaim.mo
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/sk
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/sk/LC_MESSAGES
installing sk.gmo as /var/tmp/gaim-0.59.8-root/usr/share/locale/sk/LC_MESSAGES/gaim.mo
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/sv
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/sv/LC_MESSAGES
installing sv.gmo as /var/tmp/gaim-0.59.8-root/usr/share/locale/sv/LC_MESSAGES/gaim.mo
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/zh_CN
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/zh_CN/LC_MESSAGES
installing zh_CN.gmo as /var/tmp/gaim-0.59.8-root/usr/share/locale/zh_CN/LC_MESSAGES/gaim.mo
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/zh_TW
mkdir /var/tmp/gaim-0.59.8-root/usr/share/locale/zh_TW/LC_MESSAGES
installing zh_TW.gmo as /var/tmp/gaim-0.59.8-root/usr/share/locale/zh_TW/LC_MESSAGES/gaim.mo
if test "gaim" = "gettext"; then \
  /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /var/tmp/gaim-0.59.8-root/usr/share/gettext/po; \
  /usr/bin/install -c -m 644 ./Makefile.in.in \
		  /var/tmp/gaim-0.59.8-root/usr/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[1]: Leaving directory `/usr/src/RPM/BUILD/gaim-0.59.8/po'
Making install in intl
make[1]: Entering directory `/usr/src/RPM/BUILD/gaim-0.59.8/intl'
if test "gaim" = "gettext" \
   && test '' = 'intl-compat.o'; then \
  /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /var/tmp/gaim-0.59.8-root/usr/lib /var/tmp/gaim-0.59.8-root/usr/include; \
  /usr/bin/install -c -m 644 libintl.h /var/tmp/gaim-0.59.8-root/usr/include/libintl.h; \
  /bin/sh ../libtool --silent --mode=install \
    /usr/bin/install -c -m 644 libintl.a /var/tmp/gaim-0.59.8-root/usr/lib/libintl.a; \
else \
  : ; \
fi
if test 'no' = yes; then \
  /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /var/tmp/gaim-0.59.8-root/usr/lib; \
  temp=/var/tmp/gaim-0.59.8-root/usr/lib/t-charset.alias; \
  dest=/var/tmp/gaim-0.59.8-root/usr/lib/charset.alias; \
  if test -f /var/tmp/gaim-0.59.8-root/usr/lib/charset.alias; then \
    orig=/var/tmp/gaim-0.59.8-root/usr/lib/charset.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
  else \
    if test yes = no; then \
      orig=charset.alias; \
      sed -f ref-add.sed $orig > $temp; \
      /usr/bin/install -c -m 644 $temp $dest; \
      rm -f $temp; \
    fi; \
  fi; \
  /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /var/tmp/gaim-0.59.8-root/usr/share/locale; \
  test -f /var/tmp/gaim-0.59.8-root/usr/share/locale/locale.alias \
    && orig=/var/tmp/gaim-0.59.8-root/usr/share/locale/locale.alias \
    || orig=./locale.alias; \
  temp=/var/tmp/gaim-0.59.8-root/usr/share/locale/t-locale.alias; \
  dest=/var/tmp/gaim-0.59.8-root/usr/share/locale/locale.alias; \

at the end (i think it started a second .configure ???):




sorry it wont let me paste the whole ./configure

can anyone figure this out? i got the src.rpm from gaim.sf.net

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee » Thu Feb 06, 2003 5:30 am

heres the end of the second ./configure

well i tried but i cant cut/paste so ull have to figure it out yourself[/code]

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Thu Feb 06, 2003 5:38 am

That's actually more than a "configure". It's actually compiling and installing. I don't see any error messages. Can you give me the exact command you used and about the last 20 or 30 lines of output?

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee » Thu Feb 06, 2003 5:40 am

no it will not let me cut and paste

Code: Select all


checking for sys/utsname.h... yes
checking for sys/wait.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for struct tm.tm_zone... yes
checking for timezone external... yes
checking for altzone external... no
checking for daylight external... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating intl/Makefile
config.status: creating m4/Makefile
config.status: creating pixmaps/Makefile
config.status: creating pixmaps/protocols/Makefile
config.status: creating pixmaps/protocols/msn/Makefile
config.status: creating pixmaps/protocols/yahoo/Makefile
config.status: creating plugins/Makefile
config.status: creating po/Makefile.in
config.status: creating sounds/Makefile
config.status: creating src/Makefile
config.status: creating src/protocols/Makefile
config.status: creating src/protocols/gg/Makefile
config.status: creating src/protocols/icq/Makefile
config.status: creating src/protocols/irc/Makefile
config.status: creating src/protocols/jabber/Makefile
config.status: creating src/protocols/msn/Makefile
config.status: creating src/protocols/napster/Makefile
config.status: creating src/protocols/oscar/Makefile
config.status: creating src/protocols/toc/Makefile
config.status: creating src/protocols/yahoo/Makefile
config.status: creating src/protocols/zephyr/Makefile
config.status: creating gaim.spec
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

gaim 0.59.8

Allow Multiple Connections.... : yes
Build Protocol Plugins........ : yes
Protocols to link statically.. : oscar toc

UI Library.................... : GNOME Panel
Use GdkPixbuf................. : no

Build with Plugin support..... : yes
Build with Perl support....... : yes

Use XScreenSaver Extension.... : yes

Build with ESD................ : yes
Build with NAS................ : no
Build with ArtsC.............. : no

Print debugging messages...... : no

Gaim will be installed in /usr/bin.

configure complete, now type 'make'

+ make -C src gaim_applet
make: Entering directory `/usr/src/RPM/BUILD/gaim-0.59.8/src'
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -I/usr/local/include -I/opt/include -I.. -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE  -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\"  -c about.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from gaim.h:30,
                 from about.c:31:
ui.h:31:27: applet-widget.h: No such file or directory
make: *** [about.o] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/gaim-0.59.8/src'
error: Bad exit status from /var/tmp/rpm-tmp.30026 (%build)

but thats the second configure cos it started a new one for some reason

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee » Thu Feb 06, 2003 5:42 am

the command i used was as root

# rpm --rebuild rpmname.src.rpm

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Thu Feb 06, 2003 5:55 am

Have you tried the binary RPM?
http://prdownloads.sourceforge.net/gaim ... m?download

In order to get the source RPM compiled I am willing to bet that some GTK/GNOME devel packages (headers) are required to build but you do not have installed. It's not finding applet-widget.h according to the error.

Do you have a "gnome-core-devel" RPM on your Mandrake CDs? Or is there an option in your Mandrake Software installation GUI for installing GNOME development?
Last edited by Void Main on Thu Feb 06, 2003 5:59 am, edited 1 time in total.

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee » Thu Feb 06, 2003 5:59 am

no because often binary rpms are for red hat and im on drake but ill try anyway

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Thu Feb 06, 2003 6:06 am

doogee, that is the correct command for installing a source rpm on mandrake (i don't think it's the same on red hat though, i missed the --rebuild option in red hat) however i am next to sure that there's a mandrake binary of gaim on the mandrake install CDs. do you have all 3 CDs? personally i installed gaim using the rpm from their site. I am fairly sure i downloaded the binary which is for all i386 linuces, either that or i did exactly as you did and did an 'rpm --rebuild' on their source rpm. Whichever it was, it installed without a hitch.

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee » Thu Feb 06, 2003 6:11 am

yes but the one on the drake cds is not the latest and therefore not the leetest version, it kept just exiting oh well yeah that binary install worked fine, i think making binaries for mandrake out of popular apps would be a great idea for a site or something. So people know that there is still Mandrake support under all the "Red Hatters".

BTW : i only have 2 cds i got them from a magazine :P

Post Reply