Hi to everyone,
And thanks james for your reply, you're right yesterday looking on some files on my server I realized that there were two "Ocsinventory.pm" one in /usr/local/share/… (ver2.4) and other on /usr/src/.. in 2.5. but I never got any error from the setup script. Any way I'm now reinstalling, hope everything goes better now.
Regards.