Dependencies......

Discussion topics, Linux related - not requests for help

Moderators: ChrisThornett, LXF moderators

Dependencies......

Postby Bazza » Thu Apr 21, 2011 2:22 pm

Are a right *&%*(%(*£ pain in the a***.

It is about time designers of SW got their acts together.

This could be an addendum to the latest Open Ballot about WMs...

Discuss...
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1483
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Postby MartyBartfast » Thu Apr 21, 2011 3:19 pm

Some distros have package managers that handle this (yum apt etc), what else is required other than those distros that don't have a package manager should get one?
I have been touched by his noodly appendage.
User avatar
MartyBartfast
LXF regular
 
Posts: 820
Joined: Mon Aug 22, 2005 7:25 am
Location: Hants, UK

Postby guy » Fri Apr 22, 2011 10:02 pm

Ah, the heady days of RISC OS when all the libraries and utilities had a single official version for each OS release and every app had to play with it. Compact, consistent and fast. But not exactly agile.

Rogue apps mushroomed, trying to deliver topical features ahead of the game - well, ahead of Acorn's game anyway. To keep their niche markets the app developers had no choice. How Acorn tantrumed at such disrespect! How the users promptly left in droves, taking the app developers with them....

Heady days. Dependency hell is the price of remaining competitive.
"Klinger, do you know how many zoots were killed to make that one suit?" — BJ Hunnicutt
User avatar
guy
LXF regular
 
Posts: 1105
Joined: Thu Apr 07, 2005 12:07 pm
Location: Worcestershire

Postby Nerdy-ish » Sat Apr 23, 2011 8:25 am

Dependency handling is much better these days, on my systems is 99.9% automatically handled compared to the "olden" days of doing it yourself.

Having said that, there is still one install that suffers from dependency hell and having to trawl the internet to find out where certain files are in what libraries - installing Skype on a 64 bit machine. It requires a tonne of (32Bit) dependencies. Worse is, it might need a few KB from a file in a library, but the entire library is say 5MB.
Nerdy-ish
 
Posts: 45
Joined: Fri Jun 11, 2010 8:05 am
Location: Infront of computer

Postby nelz » Sat Apr 23, 2011 8:29 am

Ah, the joys of closed source software.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby Bazza » Wed Apr 27, 2011 5:01 pm

This is what pi$$e$ me off about Linux...
Another thing I have to do to compile something I want.

"bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory"

Looks like I have to check every text file to remove all the ^M, (RETURN),
so that bash can understand it...

What a RPITFA... >:<

Is bash so "inept" as to NOT recognise a CR and if necessary ignore it
when it sees it?

Why oh why oh why...

Come back Windows all is forgiven...
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1483
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Postby Marrea » Wed Apr 27, 2011 5:28 pm

Bazza wrote:Come back Windows all is forgiven...

Yeah, but the first time Windows throws a wobbly (as it surely will) you'll be running back to Linux. :D

I don't think there will ever be an o.s. which doesn't drive us mad at some point. It's something we just have to put up with if we want to use computers. :(
User avatar
Marrea
LXF regular
 
Posts: 1877
Joined: Fri Apr 08, 2005 9:32 pm
Location: Chilterns, West Hertfordshire

Postby nelz » Wed Apr 27, 2011 10:47 pm

You're complaining that a Unix-like OS can't execute a script saved in DOS format?

You're not the first, so there's a tool to switch line endings in text files

Code: Select all
dos2unix filename


or you can do it with good old sed

Code: Select all
sed 's/\r//' -i filename
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby Bazza » Thu Apr 28, 2011 5:36 am

Hi nelz...

> You're not the first, so there's a tool to switch line endings in text files

Don't have dos2unix on this machine so......

I used ghex2 from a GUI icon which has the added advantage to check
whether there are any other unwanted characters visually.

A simple great tool...
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1483
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Postby nelz » Thu Apr 28, 2011 7:24 am

ghex2 is installed by default but dos2unix isn't. Even if that's true, it takes seconds to install and a tool like that, or sed, doesn't require you to make individual changes to each file, it can batch the whole lot with one command.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK


Return to Discussion

Who is online

Users browsing this forum: No registered users and 2 guests