Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Senior Member pfarrell's Avatar
    Join Date
    Apr 2005
    Location
    Wayne, PA
    Posts
    4,251

    SS7 Rpm forgets JSON::XS

    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

  2. #2
    Senior Member pfarrell's Avatar
    Join Date
    Apr 2005
    Location
    Wayne, PA
    Posts
    4,251
    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

  3. #3
    Administrator andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,395

    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.

  4. #4
    Senior Member pfarrell's Avatar
    Join Date
    Apr 2005
    Location
    Wayne, PA
    Posts
    4,251
    Quote Originally Posted by Andy Grundman View Post
    Are you on an architecture that can't use the prebuilt binary
    modules? If so you need to run build-perl-modules.
    Architecture, nope, just boring old AMD x86.
    See second note, build-perl-modules has no joy either

  5. #5
    Senior Member pfarrell's Avatar
    Join Date
    Apr 2005
    Location
    Wayne, PA
    Posts
    4,251
    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!

  6. #6
    Administrator andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,395

    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?

  7. #7
    Senior Member pfarrell's Avatar
    Join Date
    Apr 2005
    Location
    Wayne, PA
    Posts
    4,251
    Quote Originally Posted by Andy Grundman View Post
    Do you have libexpat-dev (or whatever the rpm is called) installed?
    Now I do. Most strange, I had been running SS7 for about ten days, since I got my Jive-remote.

    For the record, the two RPMs are
    Code:
    libexpat0-1.95.8-3mdk
    libexpat0-devel-1.95.8-3mdk
    Now, its complaining about MySql, so more as I know more.

  8. #8
    Robin Bowes
    Guest

    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.


  9. #9
    Senior Member pfarrell's Avatar
    Join Date
    Apr 2005
    Location
    Wayne, PA
    Posts
    4,251
    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?

  10. #10
    Senior Member pfarrell's Avatar
    Join Date
    Apr 2005
    Location
    Wayne, PA
    Posts
    4,251
    Just checked out 13298.
    to a sandbox, ran Bin/build-perl-modules.pl
    said all is OK. MySql still unhappy
    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
    While Mysql seems to be up and running there is no SS schema defined. Perhaps this could be a my.cnf problem?

    Mysql version 5.0.24a-log

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •