PDA

View Full Version : SC7 on Clarke Connect



Ramage
2007-10-14, 07:21
Has anyone tried SC7 on Clarke Connect yet?

The 13-10 nightly rpm appears to run and install the files but SC does not run. A check of the SC directories shows all files present. htop shows no SC7 or mysql PIDs.

I uninstalled SS6.5.5 which I had running previously and cleared the directories before the install.

Before I start looking in depth, any ideas on what might be the problem?

mick_w
2007-10-14, 08:15
I gave it a go the other day and it installed without errors but it didn't work.

"/etc/init.d/slimserver start" reports that it started "OK", but "ps -ux" doesn't report any processes running.

I had a similar thing happen with a previous 7.0 nightly and just put it down to it being a beta, but now this has happened on my second attempt with a newer 7.0 nightly I'm starting to think it's a ClarkConnect issue.

I hadn't got time to try and diagnose the problem (I should really have saved the slimserver log file).

I had to clear out the directories before I could reinstall 6.5 (otherwise the web UI was corrupted).


For reference I tried with C-C 4.2(RC1) with the standard Perl-5.8.5. (Could this be the Perl issue we have seen before with CLI?)

Mick

mick_w
2007-10-14, 08:27
Just a thought...

I'm assuming you were trying (like me) with the vanilla install and therefore SqueezeCenter would be using Perl-5.8.5

Have you tried building the Perl binaries for your Perl-5.8.8 and modify the slimserver.pl (or is it now called squeezecenter.pl?) file to point to your newer version of Perl.

Mick

Ramage
2007-10-14, 10:51
Just a thought...

I'm assuming you were trying (like me) with the vanilla install and therefore SqueezeCenter would be using Perl-5.8.5

Have you tried building the Perl binaries for your Perl-5.8.8 and modify the slimserver.pl (or is it now called squeezecenter.pl?) file to point to your newer version of Perl.

Mick


Hi Mick

I'm using Perl 5.8.8, and ran build-perl-modules just in case. SC7 appears to start, but it fails showing this message when run in a terminal:

Can't locate auto/Compress/Zlib/autosplit.ix in @INC (@INC contains:
/usr/local/slimserver/CPAN/arch/5.8/i386-linux
/usr/local/slimserver/CPAN/arch/5.8/i386-linux/auto
/usr/local/slimserver/CPAN/arch/5.8.8/i686-linux
/usr/local/slimserver/CPAN/arch/5.8.8/i686-linux/auto
/usr/local/slimserver/CPAN/arch/5.8/i686-linux
/usr/local/slimserver/CPAN/arch/5.8/i686-linux/auto
/usr/local/slimserver/CPAN/arch/i686-linux
/usr/local/slimserver/lib
/usr/local/slimserver/CPAN
/usr/local/slimserver
/usr/local/slimserver
/usr/local/lib/perl5/5.8.8/i686-linux
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl .)
at /usr/local/lib/perl5/5.8.8/AutoLoader.pm line 160.
at /usr/local/slimserver/CPAN/Compress/Zlib.pm line 15

The following CPAN modules were found but are too old to work with SqueezeCenter:
GD (loaded 2.35, need 2.35)

To fix this problem you have several options:
1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
2. Update the module's package using apt-get, yum, etc.
3. Run the .tar.gz version of SqueezeCenter which includes all required CPAN modules.

So I ran the tar.gz, (opt 3)but it didn't help.

I managed to locate auto/Compress/Zlib/autosplit.ix in a Perl 5.8 multi-thread folder (not in $INC) and copied it across to an $INC directory. I now only have the GD issue to resolve.

"The following CPAN modules were found but are too old to work with SqueezeCenter:
GD (loaded 2.35, need 2.35)"

But I appear to have the correct version??

I've seen something in the forum recently about the GD problem and need to do some more research.

I'll come back if I find the solution

Ramage
2007-10-14, 10:57
Found this thread http://forums.slimdevices.com/showthread.php?t=39240

seems to be about the same problem - I'll need to work through it when I have a little time to spare.

Ramage
2007-10-15, 01:19
My problem is the same as in this thread: http://forums.slimdevices.com/showthread.php?t=39240, and the solution seems to be an updated libgd2; however, I have tried apt-get and the file is not available.

The current version of libgd in CC4.1 is libgd.so.2.0.0

Can anyone point me at where I can get the right libgd2?

mick_w
2007-10-15, 11:29
"rpm -q gd" reports ClarkConnect is using "gd-2.0.28-4.5.cc"

I also installed the gd-devel package with "apt-get install gd-devel"

running the "cpan GD" command tries to install the latest (2.35) version of GD but fails with this:

************************************************** ********************

[root@black-box ~]# cpan GD
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sat, 13 Oct 2007 23:36:45 GMT
Running install for module GD
Running make for L/LD/LDS/GD-2.35.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.35.tar.gz ok
Scanning cache /root/.cpan/build for sizes
GD-2.35/
GD-2.35/t/
GD-2.35/t/test.out.3.jpeg
GD-2.35/t/GD.t
GD-2.35/t/tile.jpeg
GD-2.35/t/test.out.4.jpeg
GD-2.35/t/test.out.5.jpeg
GD-2.35/t/test.out.6.jpeg
GD-2.35/t/test.out.7.jpeg
GD-2.35/t/test.out.8.jpeg
GD-2.35/t/test.out.9.jpeg
GD-2.35/t/test.out.3.png-1
GD-2.35/t/Polyline.t
GD-2.35/t/test.out.4.png-1
GD-2.35/t/test.out.4.png-2
GD-2.35/t/test.out.10.png-1
GD-2.35/t/test.out.10.png-2
GD-2.35/t/test.out.10.png-3
GD-2.35/t/test.out.1.png
GD-2.35/t/test.out.2.gif
GD-2.35/t/test.out.2.png
GD-2.35/t/test.out.3.gif
GD-2.35/t/test.out.3.png
GD-2.35/t/test.out.4.gif
GD-2.35/t/test.out.4.png
GD-2.35/t/test.out.5.gif
GD-2.35/t/test.out.5.png
GD-2.35/t/test.out.6.gif
GD-2.35/t/test.out.6.png
GD-2.35/t/test.out.7.gif
GD-2.35/t/test.out.7.png
GD-2.35/t/test.out.8.gif
GD-2.35/t/test.out.8.png
GD-2.35/t/test.out.9.gif
GD-2.35/t/test.out.9.png
GD-2.35/t/test.out.5.png-1
GD-2.35/t/Generic.ttf
GD-2.35/t/test.out.6.png-1
GD-2.35/t/test.out.7.png-1
GD-2.35/t/frog.jpg
GD-2.35/t/frog.xpm
GD-2.35/t/test.out.10.jpeg
GD-2.35/t/test.out.8.png-1
GD-2.35/t/test.out.8.png-2
GD-2.35/t/test.out.8.png-3
GD-2.35/t/test.out.8.png-4
GD-2.35/t/test.out.8.png-5
GD-2.35/t/test.out.8.png-6
GD-2.35/t/tile.gif
GD-2.35/t/tile.png
GD-2.35/t/test.out.2.png-1
GD-2.35/t/test.out.9.png-1
GD-2.35/t/test.out.9.png-2
GD-2.35/t/palettemap.png
GD-2.35/t/test.out.10.gif
GD-2.35/t/test.out.10.png
GD-2.35/t/test.out.2.jpeg
GD-2.35/GD/
GD-2.35/GD/Polygon.pm
GD-2.35/GD/Simple.pm
GD-2.35/GD/Image.pm.PLS
GD-2.35/GD/Polyline.pm
GD-2.35/GD.pm
GD-2.35/GD.xs
GD-2.35/demos/
GD-2.35/demos/brushes.pl
GD-2.35/demos/font_list.png
GD-2.35/demos/fonttest
GD-2.35/demos/polys.pl
GD-2.35/demos/fills.pl
GD-2.35/demos/truetype_test
GD-2.35/demos/shapes.pl
GD-2.35/demos/copies.pl
GD-2.35/demos/ttf.pl
GD-2.35/demos/gd_example.cgi
GD-2.35/demos/tile.png
GD-2.35/demos/polyline.pl
GD-2.35/demos/transform.pl
GD-2.35/qd.pl
GD-2.35/README
GD-2.35/Makefile.PL
GD-2.35/README.QUICKDRAW
GD-2.35/META.yml
GD-2.35/typemap
GD-2.35/bdf_scripts/
GD-2.35/bdf_scripts/README
GD-2.35/bdf_scripts/bdf2gdfont.PLS
GD-2.35/bdf_scripts/bdftogd
GD-2.35/bdf_scripts/bdf2gdfont.pl
GD-2.35/README.unix
GD-2.35/ChangeLog
GD-2.35/MANIFEST
Removing previously used /root/.cpan/build/GD-2.35

CPAN.pm: Going to build L/LD/LDS/GD-2.35.tar.gz

NOTICE: This module requires libgd 2.0.28 or higher.

If you are using Math::Trig 1.01 or lower, it has a bug that
causes a "prerequisite not found" warning to be issued. You may
safely ignore this warning.

Type perl Makefile.PL -h for command-line option summary


Where is libgd installed? [/usr/lib]

Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build PNG support? [y]
Build FreeType support? [y]
Build GIF support? [y]
Build support for animated GIFs? [y]
Build XPM support? [y]

If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

Checking if your kit is complete...
Looks good
Writing Makefile for GD
/usr/local/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
cc -c -I/usr/include -I/usr/include/gd -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"2.35\" -DXS_VERSION=\"2.35\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/lib:/usr/X11R6/lib" cc -shared -L/usr/local/lib GD.o -o blib/arch/auto/GD/GD.so \
-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/lib -lgd -lfreetype -ljpeg -lpng -lz -lm -lX11 -lXpm \

/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/GD/GD.so] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

************************************************** ********************

The README file says you must have libgd v.2.0.28 or later (which I think it is), I also ran the "perl -MGD\ 999" command and get this:

************************************************** ********************

[root@black-box ~]# perl -MGD\ 999
Can't locate GD.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.

************************************************** ********************

Don't really know where to go now.......

Mick

andyg
2007-10-15, 11:34
You need to install Freetype.

mick_w
2007-10-15, 12:02
OK I've got a bit further (I needed the devel packages)...

apt-get install freetype-devel
apt-get install libpng-devel
apt-get install libjpg-devel
apt-get install xorg-X11-devel

now its building GD but failing at the "make test", here's my output (sorry about the size):

**********************************************


[root@black-box ~]# cpan GD
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sat, 13 Oct 2007 23:36:45 GMT
Running install for module GD
Running make for L/LD/LDS/GD-2.35.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.35.tar.gz ok
Scanning cache /root/.cpan/build for sizes
GD-2.35/
GD-2.35/t/
GD-2.35/t/test.out.3.jpeg
GD-2.35/t/GD.t
GD-2.35/t/tile.jpeg
GD-2.35/t/test.out.4.jpeg
GD-2.35/t/test.out.5.jpeg
GD-2.35/t/test.out.6.jpeg
GD-2.35/t/test.out.7.jpeg
GD-2.35/t/test.out.8.jpeg
GD-2.35/t/test.out.9.jpeg
GD-2.35/t/test.out.3.png-1
GD-2.35/t/Polyline.t
GD-2.35/t/test.out.4.png-1
GD-2.35/t/test.out.4.png-2
GD-2.35/t/test.out.10.png-1
GD-2.35/t/test.out.10.png-2
GD-2.35/t/test.out.10.png-3
GD-2.35/t/test.out.1.png
GD-2.35/t/test.out.2.gif
GD-2.35/t/test.out.2.png
GD-2.35/t/test.out.3.gif
GD-2.35/t/test.out.3.png
GD-2.35/t/test.out.4.gif
GD-2.35/t/test.out.4.png
GD-2.35/t/test.out.5.gif
GD-2.35/t/test.out.5.png
GD-2.35/t/test.out.6.gif
GD-2.35/t/test.out.6.png
GD-2.35/t/test.out.7.gif
GD-2.35/t/test.out.7.png
GD-2.35/t/test.out.8.gif
GD-2.35/t/test.out.8.png
GD-2.35/t/test.out.9.gif
GD-2.35/t/test.out.9.png
GD-2.35/t/test.out.5.png-1
GD-2.35/t/Generic.ttf
GD-2.35/t/test.out.6.png-1
GD-2.35/t/test.out.7.png-1
GD-2.35/t/frog.jpg
GD-2.35/t/frog.xpm
GD-2.35/t/test.out.10.jpeg
GD-2.35/t/test.out.8.png-1
GD-2.35/t/test.out.8.png-2
GD-2.35/t/test.out.8.png-3
GD-2.35/t/test.out.8.png-4
GD-2.35/t/test.out.8.png-5
GD-2.35/t/test.out.8.png-6
GD-2.35/t/tile.gif
GD-2.35/t/tile.png
GD-2.35/t/test.out.2.png-1
GD-2.35/t/test.out.9.png-1
GD-2.35/t/test.out.9.png-2
GD-2.35/t/palettemap.png
GD-2.35/t/test.out.10.gif
GD-2.35/t/test.out.10.png
GD-2.35/t/test.out.2.jpeg
GD-2.35/GD/
GD-2.35/GD/Polygon.pm
GD-2.35/GD/Simple.pm
GD-2.35/GD/Image.pm.PLS
GD-2.35/GD/Polyline.pm
GD-2.35/GD.pm
GD-2.35/GD.xs
GD-2.35/demos/
GD-2.35/demos/brushes.pl
GD-2.35/demos/font_list.png
GD-2.35/demos/fonttest
GD-2.35/demos/polys.pl
GD-2.35/demos/fills.pl
GD-2.35/demos/truetype_test
GD-2.35/demos/shapes.pl
GD-2.35/demos/copies.pl
GD-2.35/demos/ttf.pl
GD-2.35/demos/gd_example.cgi
GD-2.35/demos/tile.png
GD-2.35/demos/polyline.pl
GD-2.35/demos/transform.pl
GD-2.35/qd.pl
GD-2.35/README
GD-2.35/Makefile.PL
GD-2.35/README.QUICKDRAW
GD-2.35/META.yml
GD-2.35/typemap
GD-2.35/bdf_scripts/
GD-2.35/bdf_scripts/README
GD-2.35/bdf_scripts/bdf2gdfont.PLS
GD-2.35/bdf_scripts/bdftogd
GD-2.35/bdf_scripts/bdf2gdfont.pl
GD-2.35/README.unix
GD-2.35/ChangeLog
GD-2.35/MANIFEST
Removing previously used /root/.cpan/build/GD-2.35

CPAN.pm: Going to build L/LD/LDS/GD-2.35.tar.gz

NOTICE: This module requires libgd 2.0.28 or higher.

If you are using Math::Trig 1.01 or lower, it has a bug that
causes a "prerequisite not found" warning to be issued. You may
safely ignore this warning.

Type perl Makefile.PL -h for command-line option summary


Where is libgd installed? [/usr/lib]

Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build PNG support? [y]
Build FreeType support? [y]
Build GIF support? [y]
Build support for animated GIFs? [y]
Build XPM support? [y]

If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

Checking if your kit is complete...
Looks good
Writing Makefile for GD
/usr/local/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
cc -c -I/usr/include -I/usr/include/gd -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"2.35\" -DXS_VERSION=\"2.35\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/lib:/usr/X11R6/lib" cc -shared -L/usr/local/lib GD.o -o blib/arch/auto/GD/GD.so \
-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/lib -lgd -lfreetype -ljpeg -lpng -lz -lm -lX11 -lXpm \

chmod 755 blib/arch/auto/GD/GD.so
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
/usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" bdf_scripts/bdf2gdfont.PLS bdf_scripts/bdf2gdfont.pl
Extracting bdf2gdfont.pl (with variable substitutions)
cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/bdf2gdfont.pl
Manifying blib/man1/bdf2gdfont.pl.1
Manifying blib/man3/GD::Polyline.3
Manifying blib/man3/GD::Image.3
Manifying blib/man3/GD::Simple.3
Manifying blib/man3/GD.3
Manifying blib/man3/GD::Polygon.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD: ./blib/arch/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr at /usr/local/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 230.
at t/GD.t line 14
Compilation failed in require at t/GD.t line 14.
BEGIN failed--compilation aborted at t/GD.t line 14.
t/GD..........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
t/Polyline....Can't load '/root/.cpan/build/GD-2.35/blib/arch/auto/GD/GD.so' for module GD: /root/.cpan/build/GD-2.35/blib/arch/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr at /usr/local/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 230.
at /root/.cpan/build/GD-2.35/blib/lib/GD/Polyline.pm line 45
Compilation failed in require at /root/.cpan/build/GD-2.35/blib/lib/GD/Polyline.pm line 45.
BEGIN failed--compilation aborted at /root/.cpan/build/GD-2.35/blib/lib/GD/Polyline.pm line 45.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
t/Polyline....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/GD.t 2 512 12 23 191.67% 1-12
t/Polyline.t 2 512 1 2 200.00% 1
Failed 2/2 test scripts, 0.00% okay. 13/13 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force


**********************************************

Thanks for the fast response, I'm not sure where to go now

Mick

andyg
2007-10-15, 12:10
Hmm, you said you had version 2.0.28 of libgd (pretty old but apparently will work with GD.pm). I wonder if your version of libgd doesn't include support for animated gif. You could try rebuilding GD and answering no to the animated gif question.

mick_w
2007-10-15, 12:19
I got it working by saying "n" to the "Build support for animated GIFs?" option.

Not sure if that's going to cause any problems...

Now to install SC7


Mick

andyg
2007-10-15, 12:24
Great, shouldn't be an issue for SC.

mick_w
2007-10-15, 12:47
Sorted....

So here's and overview:

1). First stop and remove the current SlimServer:

#service slimserver stop
#rpm -e slimserver

2). Install the extra packages (required to build the GD.pm Perl module):

#apt-get install gd-devel
#apt-get install freetype-devel
#apt-get install libpng-devel
#apt-get install libjpg-devel
#apt-get install xorg-X11-devel

3). Build the GD.pm perl module:

#cpan GD
(enter "n" to the "Build support for animated GIFs?" option when asked)

4). Install SqueezeCentre:

#rpm -Uvh http://www.slimdevices.com/downloads/nightly/latest/7.0/SlimServer_trunk_v2007-10-15.noarch.rpm
#service slimserver start


Note:

As I'd previously updated Perl to 5.8.8 and the GD.pm used this when it was built I had two extra steps to get it working:

5). modify the slimserver.pl file to point to the new version of perl by editing the first line of the file.
6). run "perl /usr/local/slimserver/Bin/build-perl-modules.pl" to make sure all the perl-5.8.8 modules are present and correct. - not sure if I really needed to do that.


Thanks Andy for all the help.

Job done....

Mick

Ramage
2007-10-15, 14:08
Looks good Mick

I'll give it a go tomorrow

Ramage
2007-10-16, 01:29
I'm still having problems.

#apt-get install libjpg-devel
#apt-get install xorg-X11-devel

return "Couldn't find package"
The repositories used were:
ftp://apt.clarkconnect.....
ftp://rh.apt.clarkconnect....

So I tried building GD.pm module but answered No to using jpg and animated gif. That ran successfully.

I've installed SC from scratch but I can't get it to run.

The startup log is attached, reports a problem with optional Hebrew Module, but I'm assuming that is not critical - any help appreciated.

Ramage
2007-10-16, 01:45
Downloaded and installed the latest nightly, and it is running - scanning the library as I type.

(in expectation) ;-))

Fifer
2007-10-16, 02:03
I'm glad to hear that it sounds like SC7 runs under ClarkConnect. However, as a complete Linux novice planning to install the Community Edition 4.1 on a VIA Epia mini-ITX system for the sole purpose of running SC7 (and hopefully learning a little about Linux along the way), I'm not sure I undertstood the solution. At the risk of begging to be spoon fed, is it possible to summarise the steps necessary for installing SC7?

Ramage
2007-10-16, 02:26
I'm glad to hear that it sounds like SC7 runs under ClarkConnect. However, as a complete Linux novice planning to install the Community Edition 4.1 on a VIA Epia mini-ITX system for the sole purpose of running SC7 (and hopefully learning a little about Linux along the way), I'm not sure I undertstood the solution. At the risk of begging to be spoon fed, is it possible to summarise the steps necessary for installing SC7?

Mick_W seems to have succeeded without issues but I'm not quite there yet, as I couldn't get all the modules I needed.

I'm hoping someone will get back with some advice on that.

I'm sure that once all the issues are sorted we'll be able to come up with a simple routine to set it up.

Ramage
2007-10-16, 02:45
Mick_W seems to have succeeded without issues but I'm not quite there yet, as I couldn't get all the modules I needed.

I'm hoping someone will get back with some advice on that.

I'm sure that once all the issues are sorted we'll be able to come up with a simple routine to set it up.

I've now managed to apt-get the 2 failed modules. The problem was a couple of typos in Mick_w response above. The commands are:
apt-get install lidjpeg-devel
apt-get install xorg-x11-devel

The problem I have now is that I cannot rerun the update of the GD module as it is already up to date. Used CPAN force install to get GD updated.

Fifer
2007-10-16, 04:12
Mick_W seems to have succeeded without issues but I'm not quite there yet, as I couldn't get all the modules I needed.

I'm hoping someone will get back with some advice on that.

I'm sure that once all the issues are sorted we'll be able to come up with a simple routine to set it up.

Thanks. My eyes had glossed over by the time I got to #13 (mick's post). Following that with your corrections should probably do the trick.

It is mick's original project which has inspired me to build the mini-ITX server. I'm struggling to get CC installed (the installation routine hangs at an early stage - others on the CC forums are having a similar problem with some EPIA motherboards) but I'm hoping that sticking the HD in my main PC and installing CC there then transferring it back to the mini-ITX server will work.

Ramage
2007-10-16, 05:09
Thanks. My eyes had glossed over by the time I got to #13 (mick's post). Following that with your corrections should probably do the trick.

It is mick's original project which has inspired me to build the mini-ITX server. I'm struggling to get CC installed (the installation routine hangs at an early stage - others on the CC forums are having a similar problem with some EPIA motherboards) but I'm hoping that sticking the HD in my main PC and installing CC there then transferring it back to the mini-ITX server will work.

Yes I've seen your previous posts about that.

To clarify, what Mick_W wrote worked except for the typos I mentioned in an earlier post.

A restart of my ccServer showed no error in the server.log, so it looks good.

Ramage
2007-10-16, 05:57
Loaded Alien 2.0 without issues :-)

andyg
2007-10-16, 06:32
I'm a bit confused as to why you guys aren't able to use the pre-compiled Perl modules. I assume you're all on x86 platforms so there should be no problem with it. Guess I need to install CC in a VM and see...

Ramage
2007-10-16, 07:38
Yes I'm on x86. Be interesting to see what you come up with on a VM CC.

I also had to copy autosplit.ix from: /usr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-multi/auto/Compress/Zlib/ to /usr/local/slimserver/CPAN/arch/5.8.8/i686-linux/auto/Compress/Zlib because original folder was not in @INC

andyg
2007-10-16, 07:49
Are you all running version 4.1 SP1?

Ramage
2007-10-16, 07:53
Are you all running version 4.1 SP1?

I am on 4.1 SP1.

andyg
2007-10-16, 10:24
I installed a vanilla 4.1 SP1 in VMWare, unchecked all features during setup, then installed the latest rpm using:

rpm -i --nodeps SlimServer_trunk_v2007-10-16.noarch.rpm

It started up perfectly and loaded all modules from the included binaries!

So the only bug here is that we should actually remove the 2 deps on XML-Parser and Digest-SHA1.

Ramage
2007-10-16, 10:46
I installed a vanilla 4.1 SP1 in VMWare, unchecked all features during setup, then installed the latest rpm using:

rpm -i --nodeps SlimServer_trunk_v2007-10-16.noarch.rpm

It started up perfectly and loaded all modules from the included binaries!

So the only bug here is that we should actually remove the 2 deps on XML-Parser and Digest-SHA1.

Good to know Andy, I'll try the --nodeps on my next update, but I think I'm sorted now.

Thanks for your help

mick_w
2007-10-16, 12:46
I've just done a clean install of ClarkConnect 4.2(RC1) to try this out...

So I tried the no dependencies tag:

[root@black-box slimserver]# rpm -i --nodeps http://www.slimdevices.com/downloads/nightly/SlimServer_v2007-10-16/SlimServer_trunk_v2007-10-16.noarch.rpm
chown: cannot access `/var/log/slimserver': No such file or directory
Point your web browser to http://black-box.home.lan:9000/ to configure your server.

...and it works straight away.


I then uninstalled with :

rpm -e slimserver

The tried installing using my normal method and I get this:

[root@black-box slimserver]# rpm -Uvh http://www.slimdevices.com/downloads/nightly/SlimServer_v2007-10-16/SlimServer_trunk_v2007-10-16.noarch.rpm
Retrieving http://www.slimdevices.com/downloads/nightly/SlimServer_v2007-10-16/SlimServer_trunk_v2007-10-16.noarch.rpm
error: Failed dependencies:
perl-XML-Parser is needed by slimserver-2007_10_16-1.noarch
perl-Digest-SHA1 is needed by slimserver-2007_10_16-1.noarch

...so I then "apt-get install" the two dependencies and repeated the "rpm -Uvh" command.

SlimCenter installed fine and works (still get the /var/log/slimserver message though).



I'm not sure where we were going wrong before, but the fact that both myself and Ramage had an upgraded version of Perl (5.8.8) installed might not just be a coincidence.

(note this was a clean install of C-C with only Samba installed - no other packages, tweaks or mods).

Should I create the "/var/log/slimserver" file? as the error correctly reported it wasn't created on installation.

Again, thanks Andy for your help and support.

I hope this info helps

Mick

Ramage
2007-10-16, 13:09
I've just done a clean install of ClarkConnect 4.2(RC1) to try this out...

Using my normal method of installation I get this:

[root@black-box slimserver]# rpm -Uvh http://www.slimdevices.com/downloads/nightly/SlimServer_v2007-10-16/SlimServer_trunk_v2007-10-16.noarch.rpm
Retrieving http://www.slimdevices.com/downloads/nightly/SlimServer_v2007-10-16/SlimServer_trunk_v2007-10-16.noarch.rpm
error: Failed dependencies:
perl-XML-Parser is needed by slimserver-2007_10_16-1.noarch
perl-Digest-SHA1 is needed by slimserver-2007_10_16-1.noarch

I could have used "apt-get" to download the packages, but I'm assuming I would then still have to build the GD.pm binary to get it to work....


So I tried the no dependencies tag:

[root@black-box slimserver]# rpm -i --nodeps http://www.slimdevices.com/downloads/nightly/SlimServer_v2007-10-16/SlimServer_trunk_v2007-10-16.noarch.rpm
chown: cannot access `/var/log/slimserver': No such file or directory
Point your web browser to http://black-box.home.lan:9000/ to configure your server.

...and it works straight away.


(note this was a clean install of C-C with only Samba installed - no other packages, tweaks or mods).

Should I create the "/var/log/slimserver" file? as the error correctly reported it wasn't created on installation.

Again, thanks Andy for your help and support.

I hope this info helps

Mick

Mick, that clarifies things nicely.

Your experience with the rpm are similar to mine but I also had to copy autosplit.ix from: /usr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-multi/auto/Compress/Zlib/ to /usr/local/slimserver/CPAN/arch/5.8.8/i686-linux/auto/Compress/Zlib because original folder was not in @INC

I assume you didn't have the same problem. Any thoughts on this @INC issue?

mick_w
2007-10-17, 10:49
I didn't have to do that, but I'm using C-C 4.2(RC1) which might make a difference.

Again it looks like an issue with updating Perl (to 5.8.8).

Mick

Ramage
2007-10-17, 11:09
I didn't have to do that, but I'm using C-C 4.2(RC1) which might make a difference.

Again it looks like an issue with updating Perl (to 5.8.8).

Mick

Yeah, I think it is to do with the updated Perl 5.8.8, but it is an easy workaround.

I don't really like workarounds but Perl 5.8.8 is a workaround anyway. I think I'll wait for CC4.2 release before I change my setup.

Thanks for your help on this.

Cheers