Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 12 Dec 2019, 04:37
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Woof CE Debian Stretch and Devuan Ascii Based Development
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 8 of 49 [723 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, ..., 47, 48, 49 Next
Author Message
jamesbond

Joined: 26 Feb 2007
Posts: 3388
Location: The Blue Marble

PostPosted: Fri 03 Mar 2017, 13:48    Post subject:  

Ok apparently your gcc6 is indeed creating share libs instead of executable binaries .

I tested with with the latest readelf (binutils 2.27) and it also shows one file is DYN (shared lib) and one is EXEC (binary), so OscarTalk is right. The rest (shared-mime/rox/pcmanfm) just follows whatever is given in the file.

I'm not sure if this is Debian's default configuration or what. I have gcc 6.2.0 running (from LFS 7.10), and it produces files of the correct type just fine. You said above that official DEBs from Stretch, when extracted, all the files shows up as shared library as well, correct? May be it's Debian's compiler configuration then. Or a bug in their binutils.

Either way, it's back to square one.

_________________
Fatdog64 forum links: Latest version | Contributed packages | ISO builder
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11240
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 03 Mar 2017, 14:10    Post subject:  

jamesbond wrote:
Ok apparently your gcc6 is indeed creating share libs instead of executable binaries .

I tested with with the latest readelf (binutils 2.27) and it also shows one file is DYN (shared lib) and one is EXEC (binary), so OscarTalk is right. The rest (shared-mime/rox/pcmanfm) just follows whatever is given in the file.

I'm not sure if this is Debian's default configuration or what. I have gcc 6.2.0 running (from LFS 7.10), and it produces files of the correct type just fine. You said above that official DEBs from Stretch, when extracted, all the files shows up as shared library as well, correct? May be it's Debian's compiler configuration then. Or a bug in their binutils.

Either way, it's back to square one.

I tried compiling Gcc 4.9 last night and had errors, so I'm trying Gcc 7.0 and so far so good after 15mins Touch wood Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 11240
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 03 Mar 2017, 14:37    Post subject:  

I'm compiling it with fortran do we even use that anymore, Heck back in 1996 when I was in Uni we were using that.
I don't think any puppy apps compile with fortran do they?
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
belham2

Joined: 15 Aug 2016
Posts: 1707

PostPosted: Fri 03 Mar 2017, 14:56    Post subject:  

ttuuxxx wrote:
I'm compiling it with fortran do we even use that anymore, Heck back in 1996 when I was in Uni we were using that.
I don't think any puppy apps compile with fortran do they?
ttuuxxx



Eeeeee, gods, there goes my Friday. Thanks a lot, ttuuxxx. Horrid memories in early 80s university school sitting in Fortran staring at the Indian fellow scribbling that gunk across the board like there was no tomorrow. And that sinking feeling of being totally lost, staring down on the floor at my ~500 high stack of mixed up compiler cards .........jeeezus what a freak show that all was.
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11240
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 03 Mar 2017, 15:03    Post subject:  

belham2 wrote:
ttuuxxx wrote:
I'm compiling it with fortran do we even use that anymore, Heck back in 1996 when I was in Uni we were using that.
I don't think any puppy apps compile with fortran do they?
ttuuxxx



Eeeeee, gods, there goes my Friday. Thanks a lot, ttuuxxx. Horrid memories in early 80s university school sitting in Fortran staring at the Indian fellow scribbling that gunk across the board like there was no tomorrow. And that sinking feeling of being totally lost, staring down on the floor at my ~500 high stack of mixed up compiler cards .........jeeezus what a freak show that all was.
Yeah not much uses it these days, It originally came out in the 1950's, Most the time Barry doesn't include it due to the size and it not widely being used anymore, I included with the build I'm doing because it was specified by LFS but really I don't see the need, I'll see how large the files are and If I have to recompile without it so be it. Around 1hr of compiling gcc 7 now Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 3388
Location: The Blue Marble

PostPosted: Fri 03 Mar 2017, 16:30    Post subject:  

LFS recipe is not the best for building secondary compiler. This is better: https://gcc.gnu.org/wiki/InstallingGCC.
_________________
Fatdog64 forum links: Latest version | Contributed packages | ISO builder
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14538
Location: Gatineau (Qc), Canada

PostPosted: Fri 03 Mar 2017, 16:44    Post subject:  

belham2 wrote:
musher0 wrote:
Hello all.

I really got fed up with the screen capture situation on this Stretch. SFR's
Take-a-shot does not work on it, and I have always found Screeny
unpractical and cumbersome. (...)


Hi Musher,

What you say about Take A Shot I am confused about. I included TAS in the build upload I did, and it works wonderfully. It takes shots of windows, full screens and/or regions. You can set percentages for the shot, where it is to be download, and even what programs handles it.

Can you specifically explain what you mean "TAS does not work?" TAS in dpup-stretch does everything that TAS does in Fatdog, unless we are using different TAS verions (which I don't think we are since I took mine from my folder of SFR's stuff).


[Edit---Disregard what I wrote here----I read your post/reasoning above more closely, and now I see what has changed, the language, and the handling of menus---which is nice!! Going to try and remove the original TAS I uncluded, and give yours a go to see if it is better. Thanks!!!]

Hi belham2.

Yes TAS is the ulimate screen capture utility, but nobody noticed when I
reported it not working on my Dpup Stretch-7 the first time. So I had to
create my own stop-gap.

Well it's nothing new on this side. Half the errors I report get overlooked
because "it doesn't happen on their Puppy". Yeah, sure. I'm from Mars, too.

I even had a quasi-row with BarryK once because he couldn't see why
gmeasures didn't work in a fr_CA environment. He provided a wrapper
that still wouldn't work. But how does a newbie prove what he's
experiencing to someone with 10 computer books to his name?

Luckily, there are still real Cartesian minds on this forum who know what
"methodical doubt" means. Like yourself. Thanks for being you.

The horrible gmeasures is still in our woof-CE repo and it still jams in an
alpha-numeric environment where the dot is replaced by the comma.

Alternatives:
A couple of years back, don570 came with a good and rather complete
converter
, but the inferface is a bit complicated to figure out.

There's the old and trusty tkconverter. But some people think that tcl/tk is
passé.

Aside from that, there is an excellent java solution and dedicated
web sites.

But who cares about alternative programs in Puppy? (This is what it
looks like sometimes.)

Rant finished. Thanks for listening.

TWYL.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)

Last edited by musher0 on Sat 04 Mar 2017, 16:20; edited 1 time in total
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1565

PostPosted: Fri 03 Mar 2017, 17:11    Post subject:  

musher0 wrote:
Yeah, sure. I'm from Mars, too.

I noticed the woof-CE logo changed recently. Maybe this means woof-CE is going to support Martians in the near future too? Smile
5923088.png
 Description   The woof-ce logo
 Filesize   19.98 KB
 Viewed   313 Time(s)

5923088.png

Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14538
Location: Gatineau (Qc), Canada

PostPosted: Fri 03 Mar 2017, 17:25    Post subject:  

That is NOT a real Martian.
My antennas are longer and distinct from my ears. Rolling Eyes Twisted Evil

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2038
Location: London, England

PostPosted: Fri 03 Mar 2017, 19:03    Post subject:  

Workaround for bin executable files that are treated as shared library files by file managers.
Code:
readelf -h filename
will reveal that Type=DYN
With devx loaded use elfedit:-
Code:
elfedit --input-type=dyn --output-type=exec filename
Use readelf -h filename again to verify the change and note that the file now appears as an executable in rox and can be launched by clicking on it.
_________________
Oscar in England

Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11240
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 03 Mar 2017, 19:11    Post subject:  

Ok Gcc 7.0 Compiles fine so far, Leafpad going to try a few more things before packaging it for you guys and its deps.
leafpadGcc.jpg
 Description   
 Filesize   40.95 KB
 Viewed   262 Time(s)

leafpadGcc.jpg


_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
musher0

Joined: 04 Jan 2009
Posts: 14538
Location: Gatineau (Qc), Canada

PostPosted: Fri 03 Mar 2017, 19:18    Post subject:  

OscarTalks wrote:
Workaround for bin executable files that are treated as shared library files by file managers.
Code:
readelf -h filename
will reveal that Type=DYN
With devx loaded use elfedit:-
Code:
elfedit --input-type=dyn --output-type=exec filename
Use readelf -h filename again to verify the change and note that the file now appears as an executable in rox and can be launched by clicking on it.

Brilliant! Excellent find, OscarTalks.

This solution is much simpler than installing a new devx and recompiling
all "suspicious" executables -- which do run, don't they?

The fact that this elfedit utility exists means that the problem has been
experienced in the past by some Linux dev. So we're not alone struggling
with it.

I had a hunch it was just a "terminology" problem. We correct it with your
one-liner and simply forewarn the users if they wish to compile anything
on their own with this devx.

Who knows? Someone from Debian or GNU may offer us a rational
explanation for this apparent and unexpected "confusion of genres".

Thanks again, OscarTalks.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11240
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 03 Mar 2017, 19:57    Post subject:  

Compiled Geany its 2.2MB smaller package than the 2 deb ones used by woof, also configured it with the search bar in the middle where it should be and line numbers showing by default.
http://smokey01.com/ttuuxxx/WoofCe/geany-1.29-i386.pet

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
musher0

Joined: 04 Jan 2009
Posts: 14538
Location: Gatineau (Qc), Canada

PostPosted: Fri 03 Mar 2017, 20:48    Post subject:  

ttuuxxx wrote:
Compiled Geany its 2.2MB smaller package than the 2 deb ones used by woof, also configured it with the search bar in the middle where it should be and line numbers showing by default.
http://smokey01.com/ttuuxxx/WoofCe/geany-1.29-i386.pet

Hi ttuuxxx.

Thank you. But it is inadvisable to impose any configuration on the user.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14538
Location: Gatineau (Qc), Canada

PostPosted: Fri 03 Mar 2017, 21:13    Post subject:  

OscarTalks wrote:
Workaround for bin executable files that are treated as shared library files by file managers.
Code:
readelf -h filename
will reveal that Type=DYN
With devx loaded use elfedit:-
Code:
elfedit --input-type=dyn --output-type=exec filename
Use readelf -h filename again to verify the change and note that the file now appears as an executable in rox and can be launched by clicking on it.

Hello all.

Some of you may find the above tip more convenient in script form.

IHTH. BFN.

~~~~~~~~~~~~
Code:
#!/bin/sh
# /usr/local/bin/elfedit.sh
# Tip by OscarTalks.
# Source: http://murga-linux.com/puppy/viewtopic.php?p=945939&sort=lastpost#945939
# Retrieved March 3, 2017, 19 h 50.
#
# Requires: elfedit, readelf, awk
#
# Goal: Change the file type of an executable mistakenly
# identified as a dynamic library in a file manager.
#
# Usage: elfedit.sh filename
####
elfedit --input-type=dyn --output-type=exec $1 # Changes the file type from DYN to EXEC.
sleep 1
readelf -h $1 | awk /Type/ # Checks that the change has been registered.
elfedit.sh.zip
Description  How-to: Download in /usr/local/bin and make executable.
zip

 Download 
Filename  elfedit.sh.zip 
Filesize  522 Bytes 
Downloaded  56 Time(s) 

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 8 of 49 [723 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, ..., 47, 48, 49 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0820s ][ Queries: 13 (0.0160s) ][ GZIP on ]