Autor Tópico: Tibbo - Virtual Serial Port  (Lida 5321 vezes)

Offline novacriatura

  • Usuário Ubuntu
  • *
  • Mensagens: 63
  • Nova Criatura - 2Corintios5:17
    • Ver perfil
    • Nova Criatura
Tibbo - Virtual Serial Port
« Online: 15 de MAR?O de 2010, 11:40 »
Ola amigos;

Ao tentar instalar um programa chamado tibbo que da suporte a portas seriais virtuais recebi a seguinte mensagen de erro (final do log) :

root@Qualidade:~/vsptmp/usr/local/vspd-1.43-dist# ./install.sh /usr/local/vspd
installing to /usr/local/vspd
creating cache ./config.cache
checking for target KERNEL... not found
checking for DEVFS... checking for UDEV... ok
********************* checking for required programms ******************
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for install... /usr/bin/install
checking for cp... /bin/cp
****************** checking for required header files ******************
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for ctype.h... yes
*********************** checking for functions *************************
checking for strerror... yes
************************ current settings ******************************
CC: gcc
CXX version: gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
CXXFLAGS: 
EXTRA_DEFINES:
EXTRA_SOURCES:
Using kernel: linux
Using kernel version: 2.6.31-20-generic
Using kernel subversion: 2.6
********************** making config.h and Makefile ********************
updating cache ./config.cache
creating ./config.status
creating lib/src/_makewrapper
creating lib/src/Makefile
creating lib/src/linux/Makefile-2.6
creating ./bin/vspd.sh
creating ./bin/vspm.sh
creating ./etc/vspd.conf
compiling the vspm kernel module ...
make: *** /usr/src/linux-2.6.31-20-generic: Arquivo ou diretório não encontrado.  Pare.
compilation failed, please see ./README for details


O que pode ser, olhei manualmente o diretório esta lá.

Obrigado desde já;
Fiquem na Sombra do Altíssimo;

Anderson Souza Cruz

Offline novacriatura

  • Usuário Ubuntu
  • *
  • Mensagens: 63
  • Nova Criatura - 2Corintios5:17
    • Ver perfil
    • Nova Criatura
Re: Tibbo - Virtual Serial Port
« Resposta #1 Online: 15 de MAR?O de 2010, 11:46 »
Segue abaixo o tutorial de instalação :

Installation
   Top  Previous  Next
The VSPDL is supplied in two different versions:

 •   TAR archive.
•   RPM package.

 To install VSPDL you will need the following:

 •   LINUX system (kernel 2.2.x-2.6.x).
•   GNU C compiler.
•   Linux kernel headers/sources of the Linux kernel you are running now.
•   make-3.74 or above.
•   binutils-2.7.0 or above.
•   bash
•   libc.so.6
•   libexpat.so.0
•   libgcc_s.so.1
•   libm.so.6
•   libstdc++.so.5

Further, you will need either
•   gunzip-1.2.4 or above to process TAR archive, or
•   RPM tool of your choice to process RPM package.

The Virtual Serial Port Driver for LINUX (VSPDL) distribution includes the following:
 
•   VSPModule - Linux kernel module that creates Virtual Serial Ports (VSPs) on your system (in lib/* of your distribution).
•   VSPDaemon - interacts with the VSPModule, facilitates data transfers between the VSPs and the network (in sbin/* of your distribution).
•   Documentation - current documentation set in HTML format (in man/* of your distribution).
•   Sample configuration files (in etc/* of your distribution).
•   VSPModule/VSPDaemon startup scripts ( in bin/vspm, bin/vspd of your distribution).

To install from TAR archive:
 
•   Login from console as a superuser (root).
•   Copy the TAR archive into a temporary directory (i.e. /root/vsptmp):
•   #mkdir /root/vsptmp
•   #cp ./vspd-1.00.tar.gz /root/vsptmp
•   #cd /root/vsptmp
•   Unpack the TAR archive and go to the destination directory:
•   #tar xvf ./vspd-1.00.tar.gz -z
•   #cd ./vspd-1.00-dist
•   Install the VSPDL into /usr/local/vspd : #./install.sh /usr/local/vspd (the shell script will install all files automatically):
•   The script will check system dependencies for VSPModule compilation;
•   The script will then compile the VSPModule;
•   Finally, the script will install all files into their target location (/usr/local/vspd) and necessary startup shell scripts (vspd and vspm)- into /etc/rc.d/init.d/.

To install from RPM archive:

•   Login from console as a superuser (root).
•   Go to the directory containing RPM archive and execute the following command: #rpm --install ./vspd-X.YY-linux.i586.rpm (you can also use any other tool of your choice to install RMP).
•   RPM subsystem will check package dependencies and let you know if something is missing;
•   If all dependencies check out successfully an installation directory will be created (normally, /usr/local/vspd-X.YY-dist);
•   Next, the VSPModule will be compiled and installed into the package installation directory (normally, to /usr/local/vspd);
•   Finally, the RPM subsystem will check the distribution installation directory and package installation directory to see if both were successfully created.

If the VSPDL installs successfully, you will have the following:
 
•   In /etc/rc.d/init.d/vspd and /etc/rc.d/init.d/vspm - standard UNIX startup scripts for VSPDaemon and VSPModule.
•   In /usr/local/vspd/bin/* - VSPDL services (startup and VSPTty).
•   In /usr/local/vspd/etc/* - VSPDL configuration files.
•   In /usr/local/vspd/lib/vspm.ko - VSPModule.
•   In /usr/local/vspd/sbin/vspd - VSPDaemon.
•   In /usr/local/vspd/man/* - VSPD documentation.

note_warning-wt
Warning regarding LATEST Linux KERNELS (2.6.x, x>= 13): If your system can't load VSPModule and shows a "module not found" error after VSPDL installation, you have to add a string into /lib/modules/<kernel-name>/modules.dep:

/usr/local/vspd/lib/vspm.ko

and loader will have possibility to load VSPDModule.
Fiquem na Sombra do Altíssimo;

Anderson Souza Cruz