I've been running SS7 for a while now, and decided to get current again. The initial install was a bit of a challenge, mostly because my SlimServer box runs Mandriva, and the Mandriva folks seem to make my life difficult.
I installed it initially from the tarball, did the manual CPAN tricks, got it working.
Just tried to update using the RPM and it complains
Starting SlimServer: The following modules failed to load: JSON::XS
I don't know if this is supposed to work, using an RPM on top of a tarball. I'd like to get out of the tarball cycle.
Thanks
Pat
Results 1 to 10 of 12
Thread: SS7 Rpm forgets JSON::XS
-
2007-09-26, 14:48 #1
SS7 Rpm forgets JSON::XS
-
2007-09-26, 14:52 #2
tried the usual
./build-perl-modules.pl
and after many warnings and errors, it wrote out
make: *** [subdirs] Error 2
Couldn't find a valid dynamic library for XML-Parser-2.34.tar.gz - something is wrong. Exiting!
So I'll remove the RPM and try the tarball again
-
2007-09-26, 14:52 #3
SS7 Rpm forgets JSON::XS
On Sep 26, 2007, at 5:48 PM, pfarrell wrote:
>
> I've been running SS7 for a while now, and decided to get current
> again.
> The initial install was a bit of a challenge, mostly because my
> SlimServer box runs Mandriva, and the Mandriva folks seem to make my
> life difficult.
>
> I installed it initially from the tarball, did the manual CPAN tricks,
> got it working.
>
> Just tried to update using the RPM and it complains
> Starting SlimServer: The following modules failed to load: JSON::XS
>
> I don't know if this is supposed to work, using an RPM on top of a
> tarball. I'd like to get out of the tarball cycle.
Are you on an architecture that can't use the prebuilt binary
modules? If so you need to run build-perl-modules.
-
2007-09-26, 14:59 #4
-
2007-09-26, 15:28 #5
tarball is no happier
still get
Expat.xs:2179: error: ‘parser’ undeclared (first use in this function)
Expat.xs:2180: error: ‘CallbackVector’ has no member named ‘st_serial’
Expat.xs:2182: error: ‘CallbackVector’ has no member named ‘skip_until’
Expat.c: In function ‘XS_XML__Parser__Expat_Do_External_Parse’:
Expat.c:2687: error: ‘XML_Parser’ undeclared (first use in this function)
Expat.c:2687: error: expected ‘;’ before ‘parser’
Expat.c:2688: warning: ISO C90 forbids mixed declarations and code
Expat.xs:2194: error: ‘parser’ undeclared (first use in this function)
make[1]: *** [Expat.o] Error 1
make: *** [subdirs] Error 2
Couldn't find a valid dynamic library for XML-Parser-2.34.tar.gz - something is wrong. Exiting!
-
2007-09-26, 16:06 #6
SS7 Rpm forgets JSON::XS
On Sep 26, 2007, at 6:28 PM, pfarrell wrote:
>
> tarball is no happier
> still get
> Expat.xs:2179: error: ‘parser’ undeclared (first use in this function)
> Expat.xs:2180: error: ‘CallbackVector’ has no member named ‘st_serial’
> Expat.xs:2182: error: ‘CallbackVector’ has no member named
> ‘skip_until’
> Expat.c: In function ‘XS_XML__Parser__Expat_Do_External_Parse’:
> Expat.c:2687: error: ‘XML_Parser’ undeclared (first use in this
> function)
> Expat.c:2687: error: expected ‘;’ before ‘parser’
> Expat.c:2688: warning: ISO C90 forbids mixed declarations and code
> Expat.xs:2194: error: ‘parser’ undeclared (first use in this function)
> make[1]: *** [Expat.o] Error 1
> make: *** [subdirs] Error 2
> Couldn't find a valid dynamic library for XML-Parser-2.34.tar.gz -
> something is wrong. Exiting!
Do you have libexpat-dev (or whatever the rpm is called) installed?
-
2007-09-26, 16:22 #7
-
2007-09-26, 16:27 #8Robin BowesGuest
SS7 Rpm forgets JSON::XS
pfarrell wrote:
> So I'll remove the RPM and try the tarball again
I find that checking out the latest from subversion is the best way to
remain current.
R.
-
2007-09-26, 21:00 #9
OK, I'm game.
Do you just use SVN to load directly into your /usr/local/slimserver tree? or do you check it out into a sandbox and setup a softlink to from /usr/local to the sandbox?
-
2007-09-26, 21:17 #10
Just checked out 13298.
to a sandbox, ran Bin/build-perl-modules.pl
said all is OK. MySql still unhappy
While Mysql seems to be up and running there is no SS schema defined. Perhaps this could be a my.cnf problem?Code:[00:10:59.8065] main::init (307) SlimServer MySQL init... [00:11:29.4159] Slim::Utils::MySQLHelper::createSystemTables (432) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/usr/local/slimserver/Cache/slimserver-mysql.sock' (2)] [00:11:29.4172] Slim::bootstrap::theEND (338) Got to the END
Mysql version 5.0.24a-log

Reply With Quote


