LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-09-2009, 05:10 AM   #1
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Rep: Reputation: 30
Grub on Slack64


Hi!

Is there any particular technical reason why grub is not currently included in Slackware64?
Or is just because the devs don't see the point right now? In this case, is there any particular danger in compiling the slackware-current Slackbuild in 64bits?

Thanks for any answer!
 
Old 06-09-2009, 07:32 AM   #2
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 30
OK, I just saw that it's available in extra/source.
Don't know why there's no package though. Any issue with that?
 
Old 06-09-2009, 04:50 PM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Probably not included because lilo works. Most long time Slack users still write their lilo.conf by hand and we wouldn't want to be confused with something else.
 
Old 06-09-2009, 04:51 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Just try to build the source in slackware64-current/extra/source/grub

Eric
 
Old 06-10-2009, 12:43 AM   #5
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 30
Hi, Eric.
Configure fails for me. config.log file says this :

Code:
his file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GRUB configure 0.97, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --infodir=/usr/info --mandir=/usr/man

## --------- ##
## Platform. ##
## --------- ##

hostname = coyote
uname -m = x86_64
uname -r = 2.6.30-rc8-vdb
uname -s = Linux
uname -v = #3 SMP PREEMPT Sat Jun 6 01:40:00 CEST 2009

/usr/bin/uname -p = AMD Phenom(tm) II X4 810 Processor
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/games
PATH: /usr/lib64/java/bin
PATH: /usr/share/texmf/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1434: checking for a BSD-compatible install
configure:1489: result: /usr/bin/ginstall -c
configure:1500: checking whether build environment is sane
configure:1543: result: yes
configure:1608: checking for gawk
configure:1624: found /usr/bin/gawk
configure:1634: result: gawk
configure:1644: checking whether make sets $(MAKE)
configure:1664: result: yes
configure:1839: checking build system type
configure:1857: result: x86_64-unknown-linux-gnu
configure:1865: checking host system type
configure:1879: result: x86_64-unknown-linux-gnu
configure:1903: checking whether to enable maintainer-specific portions of Makefiles
configure:1912: result: no
configure:2028: checking for gcc
configure:2044: found /usr/bin/gcc
configure:2054: result: gcc
configure:2112: checking for gcc
configure:2138: result: gcc
configure:2382: checking for C compiler version
configure:2385: gcc --version </dev/null >&5
gcc (GCC) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2388: $? = 0
configure:2390: gcc -v </dev/null >&5
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/specs
Target: x86_64-slackware-linux
Configured with: ../gcc-4.3.3/configure --prefix=/usr --libdir=/usr/lib64 --enable-shared --enable-bootstrap --enable-languages=ada,
c,c++,fortran,java,objc --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-
__cxa_atexit --enable-libssp --with-gnu-ld --verbose --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-lin
ux --host=x86_64-slackware-linux
Thread model: posix
gcc version 4.3.3 (GCC)
configure:2393: $? = 0
configure:2395: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2398: $? = 1
configure:2421: checking for C compiler default output file name
configure:2424: gcc -m32 -O2   conftest.c  >&5
/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-s
lackware-linux/4.3.3/libgcc.a when searching for -lgcc
/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
configure:2427: $? = 1
I guess the -m32 option in the gcc compiling test is causing it.
Does this mean one should only compile grub in 32bits?

EDIT : OK, after some looking around, it indeed seems like grub must be compiled in 32bits right now.
Well, never mind, I'll wait for 32bits support or keep on using Lilo.

Last edited by rvdboom; 06-10-2009 at 01:14 AM.
 
Old 06-10-2009, 10:06 AM   #6
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
GRUB doesnt build on x86_64. It needs to be statically built on x86.
PS. GRUB2 is in the same state.
 
Old 06-10-2009, 02:32 PM   #7
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
can't one install the compatibility libs from slamd64's slackware64-current repository? I believe this is why -m32 would be included in the configure flags. It forces it to build 32 bit binaries... I haven't tested it personally but you may also need to export PKG_CONFIG_PATH to be /usr/lib. Otherwise it still may try to use the 64 bit libs.
 
Old 06-10-2009, 02:56 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Remember that there is a grub in slackware-current that you can use. It is all still Slackware - it's just that there are two ports.

Eric
 
Old 06-11-2009, 12:57 AM   #9
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 30
Yes but it is dynamically linked to some 32bits libs and thus requires 32-bits compatibility packages..... Ahem ahem... :-D
Well, I've done that and copied manually the required libs, I'll see how it turns out tonight.
Thanks for the answers, guys!
 
Old 06-11-2009, 07:00 AM   #10
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
I've been using the grub from -Current to boot SW64-C on a ext4 partition with no problems.
 
  


Reply



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
grub drops to grub prompt on boot, but can use commands to find menu... fix? greenmuzz Linux - Software 7 06-07-2009 03:07 AM
Slack64-Current / NVIDIA Driver / possible bug? slackass Slackware 2 05-21-2009 12:02 AM
Why /boot/grub/grub.conf is symlinked to /boot/grub/menu.lst raj_hcl1986@rediffma Linux - Newbie 2 10-19-2008 02:19 AM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 06:40 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:23 PM.

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
Open Source Consulting | Domain Registration