What is the problem on cpanm etc.

Hi,

I am trying to install a CAD software of Lattice’s Diamond on my computer with OPENSUSE 11.4. It shows the following message after I enter:

cpan App::cpanminus

I do not know what is wrong with the installation.

The purpose of the above command is as (except):

Required Support Libraries
Diamond is packaged in Red Hat Package Manager format (RPM). In order to
install Diamond, several support libraries must be acquired from the operating
system vendor’s repository. See the following tables.
Also, the Perl 5 site library needs to be updated in order to use Lattice Mico
System. To update the site library, enter the following sequence of
commands:
sudo cpan App::cpanminus

in order to install some library such as:

libgdk-1.2.so.0 libm.so.6 libXext.so.6
libglib-1.2.so.0

Could you help me out? Thanks.


sudo cpan App::cpanminus
Going to read ‘/root/.cpan/Metadata’
Database was generated on Sat, 10 Sep 2011 05:27:59 GMT
Running install for module ‘App::cpanminus’
Running make for M/MI/MIYAGAWA/App-cpanminus-1.4008.tar.gz
Checksum for /root/.cpan/sources/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.4008.tar.gz ok

CPAN.pm: Going to build M/MI/MIYAGAWA/App-cpanminus-1.4008.tar.gz

Checking if your kit is complete…
Looks good
Writing Makefile for App::cpanminus
MIYAGAWA/App-cpanminus-1.4008.tar.gz
make – NOT OK
‘YAML’ not installed, will not store persistent state
Running make test
Can’t test without successful make
Running make install
Make had returned bad status, install seems impossible

Hi
Install perl-App-cpanminus from here;
http://software.opensuse.org/search?q=perl-app-cpanminus&baseproject=openSUSE%3A11.4&lang=en&exclude_debug=true


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 4 days 17:45, 3 users, load average: 0.26, 0.19, 0.16
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

Thank you very much.

You answer is great! Now the installation asks:
Another lib, something as: gtk-1.2.10-1089.2.i586

nothing provides glib needed by gtk-1.2.10-1089.2.i586

When I find that:gtk-1.2.10-1089.2.i586, it requires : glib.

I cannot find the exact on local rpm or web. What is it? thanks again.

Hi
The issue is your trying to install software for an older release of
either Redhat or SUSE 10 which are neither lib compatible with openSUSE
11.4.

Either give the windows version a go running with wine, or virtualize
and install SLED10 SP4 and run there.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 4 days 22:43, 3 users, load average: 0.14, 0.12, 0.11
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

On Sun, 11 Sep 2011 05:01:53 +0530, malcolmlewis
<malcolmlewis@no-mx.forums.opensuse.org> wrote:

>

> Hi
> The issue is your trying to install software for an older release of
> either Redhat or SUSE 10 which are neither lib compatible with openSUSE
> 11.4.
>
> Either give the windows version a go running with wine, or virtualize
> and install SLED10 SP4 and run there.
>

or you can compile / install in a separate environment, using --prefix.
i’m doing that whith GIMP, which also requires different versions of
system libraries. under this prefix, which can be located in ~/, you can
build the needed versions of gtk and whatever else may be required, adding
the locations to the environment for that session.


phani.

Make sure you install package as below?

perl-YAML-Syck
perl-YAML
make

Reference - CPAN - Error ปัญหาเกี่ยวกับ ‘YAML’ not installed, will not store persistent state