LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-14-2003, 03:30 PM   #16
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64

I'd personally take my chances with the Perl shell at this point, but let's continue on for learnings sake

As long as it's not ERRORING out, errors are fine and normal. However, if it is indeed erroring out, 9 times out of 10, it's a dependency resolving issue (which the cpan shell resolves most of the time ). Sometimes, and it's rare, there is simply an error in the code itself, and you'll need to grab an alternate version of the software. If it's the latest stable, I'll usually go 1 up onto the unstable platform. On production equipment (that means things that are running actual servers, not home brewed units like a Desktop ) you might choose to go 1 down instead, but the error may still be there if it's not really a new release to fix that bug..

HTH

Very glad to see you got GCC installed/resolved, that can be one helluva brain fry for some people.

Cool
 
Old 09-14-2003, 04:24 PM   #17
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
I'd personally take my chances with the Perl shell at this point, but let's continue on for learnings sake
You mean, I should take chances with -

After that, instead of downloading perl modules and installing one by one, as root:
perl -MCPAN -e shell


?
See, the only problem I have is that CGI Perl scripts are running great on the server, and I don't want to do something which would result in a change of some setting which is again going to take me a lifetime to troubleshoot. As it is I am getting to know about the things the hard way.

I got so fired up today morning, that after I stopped working on the Linux server, I actually downloaded the Solaris binaries and burnt them into CD's(from the Sun's website) and created a second partition on my AMD Athlon Laptop, dual booting it with XP. Got into hell with the display, since my latop would probe a display of 320 x 480 or something like that. So, I searched a few forums and came up with an answer - portking. Downloaded it, and well, now I have Solaris 9 running on my laptop, with a resolution of 800x600 having some 65000 colors. :P Next I have no idea, how to get this connected to the internet, but I'll try something.

However, back to the problem I have on-hand. I'll ask my friend if he wants me to do the Perl job for him. I guess if something goes wrong at the server, then the hosting company guys are going to charge helluva lot of dough to reset everthing back to normal!

Thank You.

ps: pardon my windowish vocab. i dont know what certain procedures and things-you-do-to-the-system are said in Linux/Unix.
 
Old 09-16-2003, 06:20 PM   #18
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
recursive dependencies??

Here's what I get when I am trying to install XFree86 -

[root@mydomain x]# rpm -Uvh XFree86-4.3.0-2.i386.rpm

warning: XFree86-4.3.0-2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e

error: Failed dependencies:
/usr/X11R6/bin/xauth is needed by XFree86-4.3.0-2
Glide3 >= 20010520 is needed by XFree86-4.3.0-2
XFree86-base-fonts = 4.3.0 is needed by XFree86-4.3.0-2
xinitrc is needed by XFree86-4.3.0-2

And then if I try to install its dependencies, I get the following error -

[root@mydomain x]# rpm -Uvh XFree86-xauth-4.3.0-2.i386.rpm Glide3-20010520-25.i386.rpm XFree86-base-fonts-4.3.0-2.i386.rpm xinitrc-3.32-1.noarch.rpm

warning: XFree86-xauth-4.3.0-2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e

error: Failed dependencies:
XFree86 is needed by xinitrc-3.32-1
switchdesk >= 3.7 is needed by xinitrc-3.32-1


So, Xfree86 needs xinitrc and xinitrc needs XFree86??
I am trying to install XFree86 on a remote linux box so that I can install VNC. I am SSHing into RHL 9.
Am I doing something wrong here?

Thank You.

Last edited by init-5; 09-16-2003 at 06:24 PM.
 
Old 09-16-2003, 08:53 PM   #19
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I don't think that XFree86-xauth is the same as plain old XFree86.

HTH

Cool
 
Old 09-16-2003, 09:42 PM   #20
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
and on the other note of installing perl modules,
perl -MCPAN -e shell
is the greatest way to do perl things installed, sort of apt-get for perl, but if you are doubtful of ots potentional running make in the module directory isn't the first step
perl Makefile.PL
is the first step, then you run
make
make test (optional)
make install (as superuser)
 
Old 09-17-2003, 12:56 AM   #21
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
I don't think that XFree86-xauth is the same as plain old XFree86.

HTH

Cool
the Xfree86-auth is not the problem here.
its xinitrc which need xfree86 and xfree86 which needs xinitrc
 
Old 09-17-2003, 11:27 AM   #22
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Right, but you'd satisfy that if Xfree was the RPM you were installing on the same line as xinitrc.

Cool
 
Old 09-17-2003, 07:30 PM   #23
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
So, you want me to install all 5 on the same line?

/usr/X11R6/bin/xauth is needed by XFree86-4.3.0-2

Glide3 >= 20010520 is needed by XFree86-4.3.0-2

XFree86-base-fonts = 4.3.0 is needed by XFree86-4.3.0-2

xinitrc is needed by XFree86-4.3.0-2

and the package that I am originally trying to install -

XFree86-4.3.0-2

Thanks.
 
Old 09-17-2003, 07:37 PM   #24
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Correct.

Cool
 
Old 09-17-2003, 07:57 PM   #25
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Original Poster
Rep: Reputation: 15
Hi, trying to resolve one of the infinite dependencies -
ERROR -

[root@mydomain x]# rpm -Uvh desktop-file-utils-0.3-5.src.rpm
warning: desktop-file-utils-0.3-5.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: cannot create %sourcedir /usr/src/redhat/SOURCES


Any idea?

I am installing "desktop-file-utils-0.3-5.src.rpm" so that I can install "switchdesk" so that I can install "xinitrc" so that I can install "XFree86" so that I can finally install "VNC".
 
Old 09-18-2003, 12:42 AM   #26
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
.src.rpm is not a file that you typically install like that. With srpms you tend to rebuild them first, then install the binary RPM that is produced from it:
rpm --rebuild
However it would seem that RedHat has decided to discontinue that as an option in their latest version of RPM yet not remove it from the man page... So, you'll want to hunt down a binary release of that file.

Still, by far, the easiest way to resolve dependencies with RPM's is apt with Synaptic, since you aren't in a gui, apt should do just fine.

Cool
 
Old 10-25-2004, 04:14 AM   #27
tongueroo
Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Im having the same problem

Im having the same problem when I try to install PerlMagick.

Magick.xs:7679: `exception' undeclared (first use in this function)
Magick.xs:7684: `MaxTextExtent' undeclared (first use in this function)
Magick.xs:7684: dereferencing pointer to incomplete type
Magick.xs:7685: dereferencing pointer to incomplete type
Magick.xs:7686: `UndefinedException' undeclared (first use in this function)
Magick.xs: In function `XS_Image__Magick_Set':
Magick.xs:7799: `Image' undeclared (first use in this function)
Magick.xs:7814: `OptionError' undeclared (first use in this function)

Has anyone found a solution to this problem?

Tung
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl Module Version on AS RH 3.0 brendskina Linux - Enterprise 2 06-13-2005 07:52 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM
perl module installation black_man Slackware 2 10-17-2004 01:57 PM
Problems with installing GD perl module. Related to libgd installation. Chiabert Linux - Newbie 0 10-03-2003 01:19 PM
Perl/Tk module installation problem baddwolf Linux - Software 0 09-25-2003 11:11 PM


All times are GMT -5. The time now is 10:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration