I really need gadmin-rsync to make scheduled backups to remote server , and I always used it on other distro’s but I cannot install it the “arch” way. I use to install it from source with ./configure , make , make install on manjaro cause it didn’t install another way.
But since an update a while ago it didn’t run ok anymore, so I tried to install it with yaourt again.
./configure runs ok but I get errors with make.
Since I’m no compile expert , I want to ask if anywone here knows what goes wrong while running “make”
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
679 | {
| ^
mv -f .deps/show_info.Tpo .deps/show_info.Po
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from show_help.c:22:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: let op: ‘GTimeVal’ is deprecated: Use ‘GDateTime’ instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from show_help.c:22:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
mv -f .deps/show_help.Tpo .deps/show_help.Po
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wl,-O1,–sort-common,–as-needed,-z,relro,-z,now -o gadmin-rsync gadmin-rsync.o create_main_window.o create_rsync_tab.o create_progress_tab.o create_disc_tab.o populate_rsync_tab.o populate_disc_tab.o backup_and_restore.o backup_menu.o save_backup_settings.o cron_functions.o file_chooser.o restore_menu.o widgets.o support.o show_log.o make_settings_entries.o make_settings_combos.o make_settings_spinbuttons.o make_settings_buttons.o make_settings_checkbuttons.o make_settings_progressbars.o make_settings_labels.o make_settings_hseparators.o set_version.o status_update.o commands.o key_handling.o handle_ssh.o get_option_pos.o credits_window.o show_info.o allocate.o show_help.o commented.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lcrypt
/usr/bin/ld: restore_menu.o:(.bss+0x0): multiple definition of `iter_filesel’; backup_menu.o:(.bss+0x0): first defined here
collect2: fout: ld gaf exit-status 1 terug
make[2]: *** [Makefile:414: gadmin-rsync] Fout 1
make[2]: Map ‘/tmp/yaourt-tmp-jack/aur-gadmin-rsync/src/gadmin-rsync-0.1.9/src’ wordt verlaten
make[1]: *** [Makefile:380: all-recursive] Fout 1
make[1]: Map ‘/tmp/yaourt-tmp-jack/aur-gadmin-rsync/src/gadmin-rsync-0.1.9’ wordt verlaten
make: *** [Makefile:320: all] Fout 2
==> FOUT: Er is een fout opgetreden in build().
Afbreken…
==> FOUT:Het is Makepkg niet gelukt om gadmin-rsync te bouwen.
ps I did edit the pkgbuild file to change source to github.