Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dependencies......

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Bazza
LXF regular


Joined: Sat Mar 21, 2009 11:16 am
Posts: 1462
Location: Loughborough

PostPosted: Thu Apr 21, 2011 3:22 pm    Post subject: Dependencies...... Reply with quote

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...
Back to top
View user's profile Send private message
MartyBartfast
LXF regular


Joined: Mon Aug 22, 2005 8:25 am
Posts: 804
Location: Hants, UK

PostPosted: Thu Apr 21, 2011 4:19 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
guy
LXF regular


Joined: Thu Apr 07, 2005 1:07 pm
Posts: 1041
Location: Worcestershire

PostPosted: Fri Apr 22, 2011 11:02 pm    Post subject: Reply with quote

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.
_________________
Cheers,
Guy
The eternal help vampire
Back to top
View user's profile Send private message
Nerdy-ish



Joined: Fri Jun 11, 2010 9:05 am
Posts: 45
Location: Infront of computer

PostPosted: Sat Apr 23, 2011 9:25 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Sat Apr 23, 2011 9:29 am    Post subject: Reply with quote

Ah, the joys of closed source software.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Bazza
LXF regular


Joined: Sat Mar 21, 2009 11:16 am
Posts: 1462
Location: Loughborough

PostPosted: Wed Apr 27, 2011 6:01 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
Marrea
LXF regular


Joined: Fri Apr 08, 2005 10:32 pm
Posts: 1868
Location: Chilterns, West Hertfordshire

PostPosted: Wed Apr 27, 2011 6:28 pm    Post subject: Reply with quote

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. Very Happy

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. Sad
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Wed Apr 27, 2011 11:47 pm    Post subject: Reply with quote

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:
dos2unix filename


or you can do it with good old sed

Code:
sed 's/\r//' -i filename

_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Bazza
LXF regular


Joined: Sat Mar 21, 2009 11:16 am
Posts: 1462
Location: Loughborough

PostPosted: Thu Apr 28, 2011 6:36 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Thu Apr 28, 2011 8:24 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion All times are GMT
Page 1 of 1

 
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
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast