homebrew-amiaos icon indicating copy to clipboard operation
homebrew-amiaos copied to clipboard

gtkdialog install error

Open alec-bertoy opened this issue 11 months ago • 3 comments

I'm getting an error during make when I try to install gtkdialog in ubuntu. I tried the reinstalling texinfo fix and it still didn't work

Last 15 lines from /home/dcstaff/.cache/Homebrew/Logs/gtkdialog/02.make:
/home/linuxbrew/.linuxbrew/bin/ld: widget_window.c:(.text+0x51d): undefined reference to `g_object_get_data'
/home/linuxbrew/.linuxbrew/bin/ld: widget_window.c:(.text+0x6a7): undefined reference to `gtk_widget_set_sensitive'
/home/linuxbrew/.linuxbrew/bin/ld: widget_window.c:(.text+0x6c9): undefined reference to `g_signal_connect_data'
/home/linuxbrew/.linuxbrew/bin/ld: widget_window.o: in function `widget_window_save':
widget_window.c:(.text+0x8e3): undefined reference to `gtk_window_get_title'
/home/linuxbrew/.linuxbrew/bin/ld: widget_window.o: in function `widget_window_clear':
widget_window.c:(.text+0x273): undefined reference to `gtk_window_set_title'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:483: gtkdialog] Error 1
make[3]: Leaving directory '/tmp/gtkdialog-20230710-5058-7er777/gtkdialog-0.8.4d/src'
make[2]: *** [Makefile:402: all] Error 2
make[2]: Leaving directory '/tmp/gtkdialog-20230710-5058-7er777/gtkdialog-0.8.4d/src'
make[1]: *** [Makefile:424: all-recursive] Error 1
make[1]: Leaving directory '/tmp/gtkdialog-20230710-5058-7er777/gtkdialog-0.8.4d'
make: *** [Makefile:363: all] Error 2

alec-bertoy avatar Jul 10 '23 16:07 alec-bertoy

Hi @alec-bertoy - this looks almost like the make file isn't finding all the necessary libraries - does brew install gtk+ result in a successful install of the gtk+ dependency?

privatezero avatar Jul 10 '23 16:07 privatezero

Hi @privatezero thanks for the reply! I've installed gtk but I did a successful reinstall and the same error still happens

alec-bertoy avatar Jul 10 '23 16:07 alec-bertoy

Hmm - if gtk is present then it might be possible brew isn't finding it for some reason. If you try dumping the output of the build command (through something like brew install --verbose gtkdialog > ~/Desktop/build-log.txt) can you tell if the process is finding the correct location of gtk+ and/or if there are any other spots where it is alerting to errors?

privatezero avatar Jul 10 '23 23:07 privatezero