The officially official Devuan Forum!

You are not logged in.

#1 2024-07-25 08:40:31

deepforest
Member
Registered: 2020-03-24
Posts: 354  

install at Daedalus emelfm, old software that require GTK+ v1.2.x?

Hello folks)
Can i install at Daedalus this emelfm, old software that require GTK+ v1.2.x?
https://emelfm.sourceforge.net/

root@home:/home/freeartist-devuan/Downloads# dpkg -i libgtk1.2-dev_1.2.10-18.1_i386.deb 
Selecting previously unselected package libgtk1.2-dev:i386.
(Reading database ... 438393 files and directories currently installed.)
Preparing to unpack libgtk1.2-dev_1.2.10-18.1_i386.deb ...
Unpacking libgtk1.2-dev:i386 (1.2.10-18.1) ...
dpkg: dependency problems prevent configuration of libgtk1.2-dev:i386:
 libgtk1.2-dev:i386 depends on libgtk1.2 (= 1.2.10-18.1).
 libgtk1.2-dev:i386 depends on libglib1.2-dev.
 libgtk1.2-dev:i386 depends on libx11-dev.
 libgtk1.2-dev:i386 depends on libxext-dev.
 libgtk1.2-dev:i386 depends on libxi-dev.

dpkg: error processing package libgtk1.2-dev:i386 (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
 libgtk1.2-dev:i386
root@home:/home/freeartist-devuan/Downloads# 

build error

root@home:/home/freeartist-devuan# 
freeartist-devuan@home:~/Downloads/ranger_vifm_mc_emelfm/emelfm-master$ make
gcc -O2 -Wall `gtk-config --cflags` -DENABLE_NLS -DLOCALEDIR=\"/usr/local/share/locale\" -DPLUGINS_DIR=\"/usr/local/share/emelfm/plugins\" -DDOC_DIR=\"/usr/local/share/emelfm/docs\" -c emelfm.c
In file included from /usr/include/gtk-1.2/gdk/gdk.h:31,
                 from /usr/include/gtk-1.2/gtk/gtk.h:31,
                 from emelfm.h:32,
                 from emelfm.c:29:
/usr/include/gtk-1.2/gdk/gdktypes.h:33:10: fatal error: glib.h: No such file or directory
   33 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make: *** [Makefile:17: emelfm.o] Error 1
freeartist-devuan@home:~/Downloads/ranger_vifm_mc_emelfm/emelfm-master$ 

Last edited by deepforest (2024-07-25 08:41:42)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#2 2024-07-25 09:56:02

soren
Member
Registered: 2023-04-30
Posts: 142  

Re: install at Daedalus emelfm, old software that require GTK+ v1.2.x?

You may have better luck with emelfm2 which should run on any gtk2 or gtk3 based system.

https://emelfm2.net/

Not sure about gtk 1.2, i think only tiny core linux supports that these days.
scratch that, tiny core uses fltk not gtk.

Last edited by soren (2024-07-25 10:05:55)

Offline

#3 2024-07-26 07:09:28

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: install at Daedalus emelfm, old software that require GTK+ v1.2.x?

thanks, but i have error at building emelfm2 also

https://github.com/tom2tom/emelfm2/issues/9

offtop
can you explain,why new linux have such issues with old software, and oposite why at old linux a cant have new software? How this thing working at windows? Windows have backward compatibility but linux not?


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#4 2024-07-26 09:22:53

soren
Member
Registered: 2023-04-30
Posts: 142  

Re: install at Daedalus emelfm, old software that require GTK+ v1.2.x?

Looks like you may need libmagic-dev development files. Have you installed those?

https://packages.debian.org/bookworm/libmagic-dev

Install that and see if you can build it again.

Im not really sure about backward compatibility of older versions of gtk on newer gnu/linux systems.

Offline

#5 2024-07-27 10:34:38

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: install at Daedalus emelfm, old software that require GTK+ v1.2.x?

thanks, better but another build error

collect2: error: ld returned 1 exit status
make: *** [Makefile:438: emelfm2] Error 1
freeartist-devuan@home:~/Downloads/ranger_vifm_mc_emelfm/emelfm2-master$ 
<------>@$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET) -Wl,--as-needed $(lLIBS)

Last edited by deepforest (2024-07-27 12:58:36)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#6 2024-07-27 21:16:00

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: install at Daedalus emelfm, old software that require GTK+ v1.2.x?

install libmagic-dev
but

multiple definition of `file'
collect2: error: ld returned 1 exit status

build when add this at 438 line makefile
<------>@$(CC) $(LDFLAGS) -Wl,-allow-multiple-definition $(OBJECTS) -o $(TARGET) -Wl,--as-needed $(lLIBS)
original was
<------>@$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET) -Wl,--as-needed $(lLIBS)
after launch emelfm2 its look strange
https://i.ibb.co/74FSxDS/Screenshot-202 … -08-13.png

ps debug log https://pastebin.com/raw/2Bi4MiKP

Last edited by deepforest (2024-07-27 21:21:04)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#7 2024-07-27 22:15:45

soren
Member
Registered: 2023-04-30
Posts: 142  

Re: install at Daedalus emelfm, old software that require GTK+ v1.2.x?

You may need to tweak some settings in the Makefile.config to suit your setup, It could be something to do with file UTF8 encoding.
Also in the Makefile.config there is an option to build gtk2 only which might help. Im just guessing here, the developer would have better answers than I would.

Emelfm2 Makefile.config
https://github.com/tom2tom/emelfm2/blob … ile.config

Last edited by soren (2024-07-27 22:16:19)

Offline

#8 2024-07-28 05:08:22

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: install at Daedalus emelfm, old software that require GTK+ v1.2.x?

thank you i will try play with makeconfig,
at git is silent, i try post to devs via mail


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

Board footer