SliTaz SliTaz Forum

You are not logged in.

#1 2018-10-09 07:52:28

neoclust3
Member
Registered: 2018-10-09
Posts: 27

fusioninventory-agent

Hello,

i don't find fusioninventory-agent in slittaz.

Is it planned to add into the distribution ?

Thanks.

Offline

#2 2018-10-11 10:58:33

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: fusioninventory-agent

Can you test http://cook.slitaz.org/cooker.cgi?pkg=fusioninventory-agent ?

Offline

#3 2018-10-11 13:17:18

neoclust3
Member
Registered: 2018-10-09
Posts: 27

Re: fusioninventory-agent

i think we miss some deps:

root@pulsestable:/home/slitaz# fusioninventory-agent

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

        LANGUAGE = (unset),

        LC_ALL = (unset),

        LANG = "fr_FR.UTF-8"

    are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Can't locate UNIVERSAL/require.pm in @INC (@INC contains: /usr/share/fusioninventory/lib /usr/lib/perl5/site_perl/5.12.3/i686-linux /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/5.12.3/i686-linux /usr/lib/perl5/5.12.3 .) at /usr/share/fusioninventory/lib/FusionInventory/Agent.pm line 7.

BEGIN failed--compilation aborted at /usr/share/fusioninventory/lib/FusionInventory/Agent.pm line 7.

Compilation failed in require at /usr/bin/fusioninventory-agent line 16.

BEGIN failed--compilation aborted at /usr/bin/fusioninventory-agent line 16.

Offline

#4 2018-10-11 13:39:47

neoclust3
Member
Registered: 2018-10-09
Posts: 27

Re: fusioninventory-agent

i didn't found the deps so i created a receipt file with inside:

# SliTaz package receipt.

PACKAGE="perl-universal-require"

VERSION="0.18"

CATEGORY="development"

SHORT_DESC="UNIVERSAL::require - require() modules from a variable"

MAINTAINER="myemail" ( i don't add it here because of spam issues

LICENSE="GPL"

DEPENDS="perl"

BUILD_DEPENDS="perl"

SOURCE="UNIVERSAL-require"

TARBALL="$SOURCE-$VERSION.tar.gz"

WEB_SITE="http://cpan.org/"

WGET_URL="https://cpan.metacpan.org/authors/id/N/NE/NEILB/$TARBALL"

# Rules to configure and make the package.

compile_rules()

{

        cd $src

        perl Makefile.PL &&

        make &&

        make DESTDIR=$DESTDIR install

}

# Rules to gen a SliTaz package suitable for Tazpkg.

genpkg_rules()

{

        mkdir -p $fs/usr

        cp -a $install/usr/lib $fs/usr

}

Offline

#5 2018-10-11 14:04:19

neoclust3
Member
Registered: 2018-10-09
Posts: 27

Re: fusioninventory-agent

perl-file-which is missing too:

# SliTaz package receipt.

PACKAGE="perl-file-which"

VERSION="1.22"

CATEGORY="development"

SHORT_DESC="Perl implementation of the which utility as an API"

MAINTAINER="myemail" ( i don't add it here because of spam issues )

LICENSE="GPL"

DEPENDS="perl"

BUILD_DEPENDS="perl"

SOURCE="File-Which"

TARBALL="$SOURCE-$VERSION.tar.gz"

WEB_SITE="http://cpan.org/"

WGET_URL="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$TARBALL"

# Rules to configure and make the package.

compile_rules()

{

        cd $src

        perl Makefile.PL

        make

        make DESTDIR=$DESTDIR install

}

# Rules to gen a SliTaz package suitable for Tazpkg.

genpkg_rules()

{

        mkdir -p $fs/usr

        cp -a $install/usr/lib $fs/usr

}

Offline

#6 2018-10-11 14:28:56

neoclust3
Member
Registered: 2018-10-09
Posts: 27

Re: fusioninventory-agent

with all this + perl-uri i pass to start fusioninventory-agent

Offline

#7 2018-10-11 15:33:39

neoclust3
Member
Registered: 2018-10-09
Posts: 27

Re: fusioninventory-agent

fusioninventory-agent --local /tmp --no-category=software,user,process,environment,controller,memory,drive,usb,slot,input,port

does not work.

No ocs file is created

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]