install-mbr forrás kerestetik [megvan] && fordítási gondok

Fórumok

Kedves Fórumotársak!

Slackware Linuxot használok, ezért nekem nem elérhető az install-mbr parancs. Tudtommal ez egy Debian-os csomag, azonban én is szeretném feltelepíteni magamnak.
Googliztam már, hogy honnan lehetne leszedni a forrását, azonban sajnos nem találtam.
Valaki tudna segíteni?
Előre is köszi.

Üdv:
János

Hozzászólások

Csak sajnos nem engedi megtenni, amit én szeretnék :(


root@janos_mobile:/home/janos# lilo -M /dev/mmcblk0 mbr
Fatal: /dev/mmcblk0 is not a master device with a primary parition table

Egy micro sd kártyára szeretnék mbr-t írni. A sysresccd leírásában az install-mbr-t ajánlották.
__________________________________________________________
Az életben csak egy dolog a szép, de az épp nem jut eszembe.

Oh, köszi a segítséget.
A forrás megvan, csak fordításkor hal el szegényke:


root@janos_mobile:/usr/src/mbr# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
configure: creating ./config.status
config.status: creating wraptest
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating harness/Makefile
config.status: WARNING:  harness/Makefile.in seems to ignore the --datarootdir setting
root@janos_mobile:/usr/src/mbr# make
Making all in harness
make[1]: Entering directory `/usr/src/mbr-1.1.9/harness'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -g -O2 -c args.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -g -O2 -c bios.c
cc1: warnings being treated as errors
bios.c: In function 'handle_int_13':
bios.c:112: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c:113: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c:122: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c:123: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c:128: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c:139: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c:142: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c:168: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c: In function 'handle_int_16':
bios.c:207: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c:219: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c: In function 'handle_int_1a':
bios.c:234: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c:235: warning: dereferencing type-punned pointer will break strict-aliasing rules
bios.c: In function 'handle_int_e4':
bios.c:291: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [bios.o] Error 1
make[1]: Leaving directory `/usr/src/mbr-1.1.9/harness'
make: *** [all-recursive] Error 1
root@janos_mobile:/usr/src/mbr# ./configure --help
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR          info documentation [DATAROOTDIR/info]
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR           man documentation [DATAROOTDIR/man]
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  --htmldir=DIR          html documentation [DOCDIR]
  --dvidir=DIR           dvi documentation [DOCDIR]
  --pdfdir=DIR           pdf documentation [DOCDIR]
  --psdir=DIR            ps documentation [DOCDIR]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-maintainer-mode enable make rules and dependencies not useful
                          (and sometimes confusing) to the casual installer

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

root@janos_mobile:/usr/src/mbr#

Van valakinet ötlete, hogy lehetne lefordítani?
__________________________________________________________
Az életben csak egy dolog a szép, de az épp nem jut eszembe.

:'(


root@janos_mobile:/usr/src/mbr# make
Making all in harness
make[1]: Entering directory `/usr/src/mbr-1.1.9/harness'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -fno-strict-aliasing -c bios.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -fno-strict-aliasing -c event.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -fno-strict-aliasing -c harness.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -fno-strict-aliasing -c mbr.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -fno-strict-aliasing -c output.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -fno-strict-aliasing -c process.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -fno-strict-aliasing -c time.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mbr\" -DVERSION=\"1.1.9\" -I. -I.     -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -m32 -fno-strict-aliasing -c vm86.c
vm86.c:15: error: expected declaration specifiers or '...' before 'vm86'
vm86.c:15: error: expected declaration specifiers or '...' before 'fn'
vm86.c:15: error: expected declaration specifiers or '...' before 'v86'
cc1: warnings being treated as errors
vm86.c:15: warning: type defaults to 'int' in declaration of '_syscall2'
vm86.c: In function 'vm86_run':
vm86.c:77: warning: implicit declaration of function 'vm86'
make[1]: *** [vm86.o] Error 1
make[1]: Leaving directory `/usr/src/mbr-1.1.9/harness'
make: *** [all-recursive] Error 1

__________________________________________________________
Az életben csak egy dolog a szép, de az épp nem jut eszembe.

Üdv!

Én egy kezdő Slackware-es vagyok, és a debian alól megszokott slapt-get üzemel, mint csomagozó. Lehetne mást is, szebbet is, jobbat is; ez a GSlapt-al már grafikus felületen is fut, de a swaret-t hez is van valami QtSwaret. Szóval lehetőség van bővel
Csak a megfelelő repokat kell elvileg beállítani (swaret és slapt-get esetén), és akkor talán lesz grub-od is. Ha nem sürgős adolog, akkor bemásolom vmikor az összes repo-t, amit használok. (Emlékeim szerint a grub is a csomagok közt van.)
Egyébként ezek a repo-k is benne vannak:
http://www.slacky.eu/...
http://packages.slackware.hu/...
legalábbis itt tematikusan kikeresheted a pontos repo-t, és hátha közte van, amit keresel. Nekem kb 8-10 repo van...
Bár mondjuk én azért nem is raktam fel se LILO-t se GRUB-ot, mert a Slacky másodjára került a gépre, amin már volt Debian GRUB-al.

/mazursky

itt nem a liloval vagy a grubbal van gond :S
alapvetően a lilot használok, semmi bajom nincs vele.
van egy mobilom, ami pendrive-ként is tud működni a bele helyezett microsd kártyával.
meg akarom oldani, hogy arról is lehessen bootolni.
ezért kell az install-mbr és a syslinux (ez utóbbival nincs gond).
__________________________________________________________
Az életben csak egy dolog a szép, de az épp nem jut eszembe.

Minden ok!
Most vettem észre, hogy van 1.1.10 is belőle. Ez már gond nélkül lefordul!
Ami nem ment, az az 1.1.9 volt.
Köszönöm a segítséget.
__________________________________________________________
Az életben csak egy dolog a szép, de az épp nem jut eszembe.