LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-19-2005, 09:13 AM   #1
EsTaF
LQ Newbie
 
Registered: Apr 2003
Location: /Russian Federation/Moscou/Odintsovo
Posts: 27

Rep: Reputation: 16
building sgmltools and Slackware 10


Hi, All
Exuse me, but I badly known English..
Don't understand how build sgmltools use Patrik's script in the
Slackware 10 (../source/ap/sgmltools/sgml-tools.build)

I see next message when run it:
##
..
configure: warning: build_alias=i686-rpm-linux-gnu: invalid host type
configure: warning: host_alias=i686-rpm-linux-gnu: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for entity-map..
##
I understand what is "host_alias=i686-rpm-linux", but "-gnu"...
What want it?

Original message placed in the linuxportal.ru forum
http://linuxportal.ru/forums/index.p...557/#msg_56557
 
Old 02-19-2005, 09:33 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Maybe an idea, try :
export CHOST="i686-pc-linux-gnu"

Before execute sgml-tools.build
 
Old 02-19-2005, 10:25 AM   #3
EsTaF
LQ Newbie
 
Registered: Apr 2003
Location: /Russian Federation/Moscou/Odintsovo
Posts: 27

Original Poster
Rep: Reputation: 16
Great thanks.
But result is similar...
Are You about %architecture% ?
I made it before postings here.
Replace "i386" to "i686" in the "..source/ap/rpm/rpm.SlackBuild:49" before compilng
rpm.
"not that"
Comment all lines in the /usr/lib/rpm/%architecture%/macros's
where is "-gnu" in lines too. Is similarly..

Need simply understanding, why is swearing to "ix86"-rpm-linux-"xxx" variable
 
Old 02-19-2005, 12:22 PM   #4
EsTaF
LQ Newbie
 
Registered: Apr 2003
Location: /Russian Federation/Moscou/Odintsovo
Posts: 27

Original Poster
Rep: Reputation: 16
....
.
.
+ FFLAGS=-O2 -g -march=i386 -mcpu=i686
+ export FFLAGS
+ ./configure --host=i386-rpm-linux-gnu --build=i386-rpm-linux-gnu --target=i386-rpm-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/usr/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/usr/var --sharedstatedir=/usr/com --mandir=/usr/man --infodir=/usr/info --with-installed-nsgmls --libdir=/usr/lib/sgml-tools --datadir=/usr/lib
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for perl... /usr/bin/perl
checking for groff... /usr/bin/groff
checking whether /usr/bin/groff accepts -mgs... no
checking for nsgmls... /usr/bin/nsgmls
checking for sgmlsasp... /usr/bin/sgmlsasp
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in entity-map
configure: running /bin/sh './configure' --prefix=/usr '--host=i386-rpm-linux-gnu' '--build=i386-rpm-linux-gnu' '--target=i386-rpm-linux' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/usr/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/usr/var' '--sharedstatedir=/usr/com' '--mandir=/usr/man' '--infodir=/usr/info' '--with-installed-nsgmls' '--libdir=/usr/lib/sgml-tools' '--datadir=/usr/lib' 'build_alias=i386-rpm-linux-gnu' 'host_alias=i386-rpm-linux-gnu' 'target_alias=i386-rpm-linux' --cache-file=/dev/null --srcdir=.
configure: warning: build_alias=i386-rpm-linux-gnu: invalid host type
configure: warning: host_alias=i386-rpm-linux-gnu: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for entity-map
..
 
Old 02-19-2005, 12:28 PM   #5
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
From gcc -v : ... --host=i486-slackware-linux ...

Did you compile gcc ? If not, I would try to use the default slackware rpm package
 
Old 02-19-2005, 03:03 PM   #6
EsTaF
LQ Newbie
 
Registered: Apr 2003
Location: /Russian Federation/Moscou/Odintsovo
Posts: 27

Original Poster
Rep: Reputation: 16
Quote:
From gcc -v : ... --host=i486-slackware-linux ...

Did you compile gcc ?
Yes
gcc-3.3.4
autoconf, automake, glibc, linux, udev, binutils, util-linux etc, too. All except "x", "xap", "kde", "gnome" ant half "n". tcpip (net-tools) "rebuild" now.. ))

I just check Patrik's built quality)) (about his scripts ../sorce/packges/xxx.Slackbuild) and Me very curiously enough all
it is likely that is My "simplicity", but I don't see other variants "so far"

Quote:
If not, I would try to use the default slackware rpm package
....
Thanks don't care. You are very help me.
 
Old 02-20-2005, 05:23 PM   #7
EsTaF
LQ Newbie
 
Registered: Apr 2003
Location: /Russian Federation/Moscou/Odintsovo
Posts: 27

Original Poster
Rep: Reputation: 16
see to /usr/lib/rpm/macros:967

And needed "host" ?!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
building gcc slackware jakiel Linux - Newbie 5 01-30-2007 08:19 PM
Building your own slackware packages CrEsPo Slackware 19 06-07-2005 11:48 PM
Cross-Building Slackware as a whole? gargamel Slackware - Installation 2 05-09-2004 07:31 PM
Building a Slackware PC Odin_of_Asgard Linux - Hardware 1 03-13-2004 12:01 PM
vi has left the building! (slackware 9.0) itsjustme Slackware 3 05-22-2003 04:07 PM


All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration