grub customizer installieren unter debian nicht möglich?

Riseofdead

Lt. Commander
Registriert
Jan. 2013
Beiträge
1.030
Hallo

Ich möchte gerne grub-customizer auf meinem Debian Rechner installieren. Jedoch gibt es nur eine Version für Ubuntu die unter Debian nicht läuft weil man irgendwas mit ppa braucht was ich nicht habe. Ich habe nach dem Problem gegoogled und gelesen ich soll mir eine Source Code tar Datei runterladen. Gesagt getan, ich habe die Datei runtergeladen und dann entpackt. Ich hab mich gewundert wieso da keine .deb Datei dabei ist. In der tar Datei sind folgende Dateien

misc/
src/
translation/
changelog
cmake_uninstall_cmake.in
CMakeLists.txt
config.h.in
COPYING
README

Alles mit einem / zum Schluss ist ein Ordner. In der README steht wohl eine Anleitung wie ich das Installiere

Code:
If you are not using Ubuntu (or one of its derivates) you cannot use the ppa to install Grub Customizer. To install it anyway, you have to download and compile the sources. All the following lines starting with $ are shell commands - open a terminal and execute them (but don't copy the $ ;-) )!

Make sure your grub2 contains the grub-mkconfig script (included since version 1.97).

# step one: Install these packages:

 * cmake
 * g++ OR gcc-c++
 * libgtkmm-3.0-dev OR gtkmm30-devel [when using the gtk-2 version you need libgtkmm-2.4-dev OR gtkmm24-devel]
 * gettext
 * libssl-dev OR openssl-devel
 * libarchive-dev OR libarchive-devel

(The package names may be different, depending on the distribution they are using on)

# step two: download the sources:

download the tar.gz-package here: https://launchpad.net/grub-customizer/+download
…and extract its contents.

# step three: compile the sources:

Go into the source directory extracted from the tar.gz file, then run

$ cmake . && make

If you get a cmake version error, try to set the "cmake_minimum_required" value to your installed version - I only written down the lowest tested version, so older versions may be compatible too.

# step four: install some (optional) runtime dependencies:

 * hwinfo

# step five: install Grub Customizer

$ sudo make install

Then you can start Grub Customizer using the menu or by running `gksu grub-customizer` / `sudo grub-customizer`

On some distributions, this may fail ("bootloader not found"), because some of the commands / directories doesn't exist on the expected names. Please make sure, these commands are accessible:

grub-mkconfig
grub-install

and these pathes/files:

/etc/grub.d
/boot/grub
/boot/grub/grub.cfg
/etc/default/grub

If not, there may be alternative commands/pathes, if Grub2 is installed. Please try to find them out and create a config file at /etc/grub-customizer/grub.cfg containing this content (the values of this example are valid on fedora 16 - change them, if they are different):

MKCONFIG_CMD=grub2-mkconfig
INSTALL_CMD=grub2-install
MKFONT_CMD=grub2-mkfont
CFG_DIR=/etc/grub.d
OUTPUT_DIR=/boot/grub2
OUTPUT_FILE=/boot/grub2/grub.cfg
SETTINGS_FILE=/etc/default/grub
DEVICEMAP_FILE="/boot/grub2/device.map"
MKDEVICEMAP_CMD="grub2-mkdevicemap --device-map=/dev/stdout"

In der Anleitung steht eine Liste von Programmen die man braucht zum installieren von grub-customizer

danach soll ich cmake . && make eingeben

Im Terminal steht dann was da von Building CXX Object. Bei 58% wird das ganze abgebrochen und folgender Fehler taucht auf

Code:
root@mario2:/home/mario/Downloads/grub-customizer-4.0.4# cmake . && make
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'gtkmm-3.0'
--   found gtkmm-3.0, version 3.4.2
-- checking for module 'gthread-2.0'
--   found gthread-2.0, version 2.32.4
-- checking for module 'openssl'
--   found openssl, version 1.0.1e
-- checking for module 'libarchive'
--   found libarchive, version 3.0.4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mario/Downloads/grub-customizer-4.0.4
Scanning dependencies of target grub-customizer
[  1%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/Entry.cpp.o
[  2%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/ListCfg.cpp.o
[  3%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/ProxyScriptData.cpp.o
[  4%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/MountTable.cpp.o
[  5%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/Proxy.cpp.o
[  6%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/Proxylist.cpp.o
[  8%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/PscriptnameTranslator.cpp.o
[  9%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/Repository.cpp.o
[ 10%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/Rule.cpp.o
[ 11%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/Script.cpp.o
[ 12%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/DeviceDataList.cpp.o
[ 13%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/Env.cpp.o
[ 14%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/SettingsManagerData.cpp.o
[ 16%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/SettingsStore.cpp.o
[ 17%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/FbResolutionsGetter.cpp.o
[ 18%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/Installer.cpp.o
[ 19%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/EntryPathBuilderImpl.cpp.o
[ 20%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/DeviceMap.cpp.o
[ 21%] Building CXX object CMakeFiles/grub-customizer.dir/src/Model/SmartFileHandle.cpp.o
[ 22%] Building CXX object CMakeFiles/grub-customizer.dir/src/Mapper/EntryNameImpl.cpp.o
[ 24%] Building CXX object CMakeFiles/grub-customizer.dir/src/main/gtk-client.cpp.o
[ 25%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/md5.cpp.o
[ 26%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/str_replace.cpp.o
[ 27%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/ContentParser/FactoryImpl.cpp.o
[ 28%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/ContentParser/Linux.cpp.o
[ 29%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/ContentParser/Chainloader.cpp.o
[ 31%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/ContentParser/LinuxIso.cpp.o
[ 32%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/ContentParser/Memtest.cpp.o
[ 33%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/ContentParser/Abstract.cpp.o
[ 34%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/Mutex/GLib.cpp.o
[ 35%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/GLib/ThreadController.cpp.o
[ 36%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/Logger/Stream.cpp.o
[ 37%] Building CXX object CMakeFiles/grub-customizer.dir/src/lib/regex.cpp.o
[ 39%] Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/Element/PartitionChooser.cpp.o
[ 40%] Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/About.cpp.o
[ 41%] Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/EntryEditor.cpp.o
[ 42%] Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/EnvEditor.cpp.o
[ 43%] Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/Installer.cpp.o
[ 44%] Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/Main.cpp.o
[ 45%] Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/Settings.cpp.o
[ 47%] Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/Trash.cpp.o
[ 48%] Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/Error.cpp.o
[ 49%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/EntryEditControllerImpl.cpp.o
[ 50%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/MainControllerImpl.cpp.o
[ 51%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/ControllerAbstract.cpp.o
[ 52%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/SettingsControllerImpl.cpp.o
[ 54%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/EnvEditorControllerImpl.cpp.o
[ 55%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/TrashControllerImpl.cpp.o
[ 56%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/InstallerControllerImpl.cpp.o
[ 57%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/AboutControllerImpl.cpp.o
[ 58%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/ErrorControllerImpl.cpp.o
In file included from /usr/include/c++/4.7/ios:41:0,
                 from /usr/include/c++/4.7/istream:40,
                 from /usr/include/c++/4.7/sstream:39,
                 from /home/mario/Downloads/grub-customizer-4.0.4/src/Controller/ErrorControllerImpl.h:24,
                 from /home/mario/Downloads/grub-customizer-4.0.4/src/Controller/ErrorControllerImpl.cpp:19:
/usr/include/c++/4.7/bits/char_traits.h:91:57: internal compiler error: in make_id_declarator, at cp/parser.c:1270
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [CMakeFiles/grub-customizer.dir/src/Controller/ErrorControllerImpl.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/grub-customizer.dir/all] Fehler 2
make: *** [all] Fehler 2
root@mario2:/home/mario/Downloads/grub-customizer-4.0.4#

Ich habe das ganze schon mehrmals versucht mit auspacken und dem Befehl eingeben. Was soll ich machen? Muss ich wirklich auf Ubuntu umsteigen? Hab gedacht Debian baut auf Ubuntu auf.
 
Nein, Ubuntu baut auf Debian auf und erweitert Debian um einige praktische Funktionen. Außerdem verfolgt es eine weniger strikte Stabilitäts-Philosophie.

Wenn du nicht gerade ein fähiger Programmierer bist wirst du wohl warten müssen, bis den Bug jemand für dich fixt.
 
Zurück
Oben