[LAC-TF] Re: Tunnel Broker: problem with msql-2.0.3
Pablo Allietti
pablo at lacnic.net
Tue Jul 20 12:16:25 BRT 2004
On Tue, Jul 20, 2004 at 10:49:57AM -0400, Christian Lazo R. wrote:
> Pablo
> si pudieras seria de gran ayuda.
>
> Nosotros ya probamos instalando versiones mas nuevas de la Bdatos y no nos
> funciono,
>
aca recien termino de instalar la ultima version de msql 3.5 sin
problemas alguno. como dije antes en un FC2. lo unico que modifique fue
el instdir del script site.mm despues de eso me resulto todo ok.
lo mismo para mysql lo cual prefiero todo ok sin problemas,
es raro que en fc1 tengas problemas con msql siendo las 2 plataformas
iguales ya que gcc no cambio en casi ningun aspecto.
aca la estructura de directorio que me genera
[root at sony msql3]# pwd
/usr/tmp/pablo/msql3
[root at sony msql3]# ls -lpa
total 52
drwxr-xr-x 11 daemon root 4096 Jul 20 12:00 ./
drwxr-xr-x 20 root root 4096 Jul 20 12:00 ../
drwxr-xr-x 2 root root 4096 Jul 20 12:00 bin/
drwxr-xr-x 2 root root 4096 Jul 20 12:00 doc/
drwxr-xr-x 3 root root 4096 Jul 20 12:00 include/
drwxr-xr-x 2 root root 4096 Jul 20 12:00 lib/
drwxr-xr-x 2 root root 4096 Jul 20 12:00 makegen/
drwxr-xr-x 2 root root 4096 Jul 20 12:00 misc/
drwxr-xr-x 2 root root 4096 Jul 20 12:00 modules/
-rw-r--r-- 1 root root 1179 Jul 20 12:00 msql.conf
drwxr-xr-x 3 daemon root 4096 Jul 20 12:00 msqldb/
-rwxr-xr-x 1 root root 2380 Jul 20 12:00 README
drwxr-xr-x 2 root root 4096 Jul 20 12:00 www/
Pd: Para ser mas claros que BD intentastes instalar y cuales fueros los
errores? corristes un make test cuando da error? que dio ?
>
> Saludos
>
> Christian
>
>
> ----- Original Message -----
> From: "Pablo Allietti" <pablo at lacnic.net>
> To: <lactf at lac.ipv6tf.org>
> Sent: Monday, July 19, 2004 9:30 AM
> Subject: [LAC-TF] Re: Tunnel Broker: problem with msql-2.0.3
>
>
> > On Fri, Jul 16, 2004 at 07:17:31PM -0400, mramirez at inf.uach.cl wrote:
> > > hola a todos, mi nombre es manuel y soy nuevo en la lista.
> >
> > hice la instalacion lo cual me genero los mismos problemas que a ti
> > teniendo FC2, para lo cual o GCC es muy nuevo, o msql 2 esta descontinuado
> > desde el anio 2001.
> >
> > Es necesario que sea el 2.X ?
> > El 3 compila perfecto en estas plataformas.
> >
> > si el 2.x es necesario le busco la solucion aca tengo otros gcc mas
> > viejos pero no se si tanto como para compilar algo del 2001 si queres lo
> > pruebo.
> >
> >
> >
> >
> > http://www.hughes.com.au/download/download.ehtml
> >
> >
> > mi gcc
> >
> > [root at sony msql-2.0.3]# gcc -v
> > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
> > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> > --infodir=/usr/share/info --enable-shared --enable-threads=posix
> > --disable-checking --disable-libunwind-exceptions --with-system-zlib
> > --enable-__cxa_atexit --host=i386-redhat-linux
> > Thread model: posix
> > gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
> >
> >
> >
> >
> >
> > >
> > > La maquina en que se intenta compilar msql-2.0.3 es la siguiente:
> > >
> ****************************************************************************
> **********************
> > > Distribucion : Fedora Core1
> > > Linux redes.ipv6.cl 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003
> > > i686 GNU/Linux
> > >
> > > model name : Intel(R) Pentium(R) 4 CPU 1.80GHz
> > > MemTotal: 482180 kB
> > > SwapTotal: 594364 kB
> > >
> > > gcc: gcc32 (GCC) 3.2.3 20030422 (Red Hat Linux 3.2.3-6)
> > > libgcc - GCC version 3.3 shared support library
> > >
> > > los logs son los siguientes:
> > > 1. Primer paso descomprimir y realizar el make target para que msql
> > > identifique el entorno
> > >
> > >
> > > [root at redes msql-2.0.3]# make target
> > >
> > >
> > > Making target directory for Linux-2.4.22-1.2115.nptl-i686
> > >
> > > Building directory tree.
> > > Adding common
> > > Adding conf
> > > Adding lang-common
> > > Adding lite
> > > Adding makedepend
> > > Adding makegen
> > > Adding msql
> > > Adding regexp
> > > Adding tests
> > > Adding tests/rtest.src
> > > Adding w3-msql
> > > Adding w3-msql/tests
> > >
> > > Adding sym-links
> > >
> ............................................................................
> ............................................................................
> ..........
> > >
> > > Build of target directory for Linux-2.4.22-1.2115.nptl-i686 complete
> > >
> > > 2. realizar el ./setup desde dentro del directorio
> > > targets/Linux-2.4.22-1.2115.nptl-i686/
> > >
> > > [root at redes Linux-2.4.22-1.2115.nptl-i686]# ./setup
> > >
> > > Starting configuration of mSQL 2.
> > >
> > > checking for gcc
> > > checking for return type of signal handlers
> > > checking for ranlib
> > > checking for bison
> > > checking for sysconf
> > > checking for strdup
> > > checking for rindex
> > > checking for random
> > > checking for bcopy
> > > checking for getdtablesize
> > > checking for strsignal
> > > checking for ftruncate
> > > checking for setrlimit
> > > checking for madvise
> > > checking for msync
> > > checking for strncasecmp
> > > checking for mktemp
> > > checking for snprintf
> > > checking for strptime
> > > checking for strerror
> > > checking for -lsocket
> > > checking for -lnsl
> > > checking for -lgen
> > > checking for -lx
> > > checking for -ldl
> > > checking for sys/sockio.h
> > > checking how to run the C preprocessor
> > > checking for dlfcn.h
> > > checking for sys/dir.h
> > > checking for dirent.h
> > > checking for netinet/in_systm.h
> > > checking for select.h
> > > checking for sys/select.h
> > > checking for sys/un.h
> > > checking for strings.h
> > > checking for sys/timeb.h
> > > creating config.status
> > > creating site.mm
> > > creating makegen/makegen.cf
> > > creating common/config.h
> > > common/config.h is unchanged
> > >
> > > checking your directory stuff. Using dirent.h and struct dirent
> > > checking mmap(). Your mmap() is fine.
> > > checking for sys_errlist. You're fine.
> > > checking for u_int. You're fine.
> > > checking for int32_t and friends. You're fine.
> > > checking for ssize_t. You're fine.
> > > checking for a working getrlimit. You're fine.
> > >
> > > Ready to build mSQL.
> > >
> > >
> > >
> > > You may wish to check "site.mm" although the defaults should be
> > > fine. When you're ready, type "make all" to build the software
> > >
> > > 3. El site.mm contiene lo siguiente:
> > >
> > >
> > > [root at redes Linux-2.4.22-1.2115.nptl-i686]# cat site.mm
> > > # Generated automatically from site.mm.in by configure.
> > > #
> > > # Site specific configuration
> > > #
> > >
> > >
> > > COMPILER= gcc
> > > INST_DIR= /usr/local/Hughes
> > > HAVE_DYNAMIC= -DHAVE_DYNAMIC
> > > CC_ONLY_FLAGS=
> > > LINK_ONLY_FLAGS=
> > >
> > >
> > > #
> > > # Things below here shouldn't need to be changed
> > > #
> > > CC= $(COMPILER) $(CC_ONLY_FLAGS)
> > > LINK= $(COMPILER) $(LINK_ONLY_FLAGS)
> > > CPP= gcc -E
> > > RANLIB= ranlib
> > >
> > > YACC= bison -y
> > >
> > > SIGLIST=
> > > DIRENT= -DHAVE_DIRENT_H -DHAVE_DIRENT
> > > MMAP= -DHAVE_MMAP
> > > U_INT= -DHAVE_U_INT
> > > SSIZE_T= -DHAVE_SSIZE_T
> > > BITTYPES= -DHAVE_BIT_TYPES
> > > SYS_ERR= -DHAVE_SYS_ERRLIST
> > > TARGET= Linux-2.4.22-1.2115.nptl-i686
> > > WORKING_RLIMIT= -DHAVE_RLIMIT_NOFILE
> > >
> > > # Extra libraries if required
> > > EXTRA_LIB= -lnsl -ldl
> > >
> > > # Any other CFlags required
> > > EXTRA_CFLAGS= -DHAVE_CONFIG_H $(SSIZE_T) $(U_INT) $(BITTYPES)
> > >
> > > # Directory for pid file
> > > PID_DIR=
> > >
> > > CFLAGS= -O -I$(TOP)/ $(EXTRA_CFLAGS)
> > > LDLIBS= -L$(TOP)/lib $(EXTRA_LIB)
> > >
> > > 4. Al compilar (make all), los errores son los siguientes:
> > > --> [msql] directory
> > > make[2]: Cambiando a directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/msql'
> > >
> > > Regenerating Makefile.
> > >
> ............................................................................
> ............................................................................
> .......
> > > Done.
> > > Done.
> > > make[3]: Cambiando a directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/msql'
> > >
> gcc -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
> > > -DHAVE_DIRENT_H -DHAVE_DIRENT -DHAVE_MMAP
> > > -DINST_DIR='"/usr/local/Hughes"'
> > > -DTARGET='"Linux-2.4.22-1.2115.nptl-i686"' -DHAVE_RLIMIT_NOFILE -c
> > > libmsql.c
> > >
> gcc -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
> > > -DHAVE_DIRENT_H -DHAVE_DIRENT -DHAVE_MMAP
> > > -DINST_DIR='"/usr/local/Hughes"'
> > > -DTARGET='"Linux-2.4.22-1.2115.nptl-i686"' -DHAVE_RLIMIT_NOFILE -c net.c
> > >
> gcc -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
> > > -DHAVE_DIRENT_H -DHAVE_DIRENT -DHAVE_MMAP
> > > -DINST_DIR='"/usr/local/Hughes"'
> > > -DTARGET='"Linux-2.4.22-1.2115.nptl-i686"' -DHAVE_RLIMIT_NOFILE -c
> > > config.c
> > > config.c:74: error sintáctico antes de "__extension__"
> > > config.c:74: `__len' no se declaró aquí (no en una función)
> > > config.c:74: el elemento inicializador no es constante
> > > config.c:74: error sintáctico antes de "if"
> > > config.c:74: tipos en conflicto para `__retval'
> > > config.c:74: declaración previa de `__retval'
> > > config.c:74: warning: la definición de datos no tiene tipo o clase de
> > > almacenamiento
> > > config.c:74: error sintáctico antes del elemento '}'
> > > make[3]: *** [config.o] Error 1
> > > make[3]: Saliendo directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/msql'
> > > make[2]: *** [all] Error 2
> > > make[2]: Saliendo directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/msql'
> > > <-- [msql] done
> > >
> > > --> [lang-common] directory
> > > make[2]: Cambiando a directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lang-c
> ommon'
> > >
> > > Regenerating Makefile.
> > >
> ............................................................................
> ..........
> > > Done.
> > > Done.
> > > make[3]: Cambiando a directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lang-c
> ommon'
> > >
> > > bison -y -d parser.y
> > > parser.y:235.9: syntax error, unexpected "|"
> > > make[3]: *** [parser.c] Error 1
> > > make[3]: Saliendo directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lang-c
> ommon'
> > > make[2]: *** [all] Error 2
> > > make[2]: Saliendo directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lang-c
> ommon'
> > > <-- [lang-common] done
> > >
> > > --> [w3-msql] directory
> > > make[2]: Cambiando a directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/w3-msq
> l'
> > >
> > > Regenerating Makefile.
> > >
> ............................................................................
> .............
> > > Done.
> > > Done.
> > > make[3]: Cambiando a directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/w3-msq
> l'
> > > make[3]: *** No hay ninguna regla para construir el objetivo
> > > `../lang-common/y.tab.h', necesario para `mod_w3msql.o'. Alto.
> > > make[3]: Saliendo directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/w3-msq
> l'
> > > make[2]: *** [all] Error 2
> > > make[2]: Saliendo directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/w3-msq
> l'
> > > <-- [w3-msql] done
> > >
> > > --> [lite] directory
> > > make[2]: Cambiando a directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lite'
> > >
> > > Regenerating Makefile.
> > > ..........................................................
> > > Done.
> > > Done.
> > > make[3]: Cambiando a directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lite'
> > >
> gcc -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
> > > -I../lang-common -DHAVE_DYNAMIC -c mod_lite.c
> > >
> gcc -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
> > > -c -o ../lang-common/mod_std.o ../lang-common/mod_std.c
> > > ../lang-common/mod_std.c:65: tipos en conflicto para `sys_errlist'
> > > /usr/include/bits/sys_errlist.h:28: declaración previa de `sys_errlist'
> > > make[3]: *** [../lang-common/mod_std.o] Error 1
> > > make[3]: Saliendo directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lite'
> > > make[2]: *** [all] Error 2
> > > make[2]: Saliendo directorio
> > >
> `/root/tunnel/needed/msql-2.0.3/targets/Linux-2.4.22-1.2115.nptl-i686/lite'
> > > <-- [lite] done
> > >
> > > Make of mSQL-2 complete.
> > > You should now install mSQL-2 using make install
> > >
> > >
> ****************************************************************************
> *****************************
> > > Finalmente al realizar el make install los errores son los mismos por lo
> > > que los binarios no se crean por lo que no se puede utilizar el TB,
> alguno
> > > de ustedes sabe como puedo solucionar este problema.
> > >
> > > cualquier sugerencia sera muy bien recibida.
> > >
> > > saludos,
> > > :: manuel ::
> > >
> > >
> > > On Thu, Jul 15, 2004 at 12:20:46PM -0400, Christian Lazo R. wrote:
> > > > Vale...
> > > > el problema puntual lo tengo con la instalacion de la version de la
> Bdatos.
> > >
> > > tenes un log o que error te envia ?
> > >
> > >
> > >
> > >
> > > >
> > > > te lo agaradeceria.
> > > >
> > > > un saludo
> > > >
> > > > Christian
> > > >
> > > > ----- Original Message -----
> > > > From: "JORDI PALET MARTINEZ" <jordi.palet at consulintel.es>
> > > > To: <lactf at lac.ipv6tf.org>
> > > > Sent: Thursday, July 15, 2004 12:01 PM
> > > > Subject: Re: [LAC-TF] IPv6 news - weekly summary
> > > >
> > > >
> > > > > Hola Christian,
> > > > >
> > > > > Se que ha habido mucha gente que ha implementado el de TILAB y no
> han
> > > > tenido problemas, pero si quieres te puede poner en contacto con los
> > > > desarrolladores para que les preguntes directamente.
> > > > >
> > > > > Saludos,
> > > > > Jordi
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Christian Lazo R." <clazo at inf.uach.cl>
> > > > > To: <lactf at lac.ipv6tf.org>
> > > > > Sent: Thursday, July 15, 2004 5:53 PM
> > > > > Subject: Re: [LAC-TF] IPv6 news - weekly summary
> > > > >
> > > > >
> > > > > > Amigos
> > > > > > Alguno de ustedes tiene implementado un tunnel Broker?
> > > > > > tengo problemas con la implementacionde TILAB, especificamente con
> la
> > > > Base
> > > > > > de datos. msql2.0.3
> > > > > >
> > > > > > alguine me puede ayudar?
> > > > > >
> > > > > > saludos
> > > > > >
> > > > > > Christian.
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "JORDI PALET MARTINEZ" <jordi.palet at consulintel.es>
> > > > > > To: "ipv6cluster List Member" <ipv6cluster at ist-ipv6.org>;
> > > > > > <members at ipv6forum.com>; <tf-sc at ipv6tf.org>;
> > > > <ipv6.tf at ipv6-taskforce.org>;
> > > > > > <ipv6 at madridwireless.net>; <press.ipv6 at consulintel.es>;
> > > > > > <foro at es.ipv6tf.org>; <lactf at lac.ipv6tf.org>
> > > > > > Sent: Monday, July 12, 2004 10:42 AM
> > > > > > Subject: [LAC-TF] IPv6 news - weekly summary
> > > > > >
> > > > > >
> > > > > > > A model of Internet standards adoption: the case of IPv6
> > > > > > >
> > > > > >
> > > >
> http://www.ist-ipv6.org/modules.php?op=modload&name=News&file=article&sid=629
> > > > > > >
> > > > > > > Your phone will be with you. always
> > > > > > >
> > > > > >
> > > >
> http://www.ist-ipv6.org/modules.php?op=modload&name=News&file=article&sid=630
> > > > > > >
> > > > > > > Indonesian IPv6 Conference
> > > > > > >
> > > > > >
> > > >
> http://www.ist-ipv6.org/modules.php?op=modload&name=News&file=article&sid=628
> > > > > > >
> > > > > > > Foundry Double Winner
> > > > > > >
> > > > > >
> > > >
> http://www.ist-ipv6.org/modules.php?op=modload&name=News&file=article&sid=631
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > **********************************
> > > > > > > Madrid 2003 Global IPv6 Summit
> > > > > > > Presentations and videos on line at:
> > > > > > > http://www.ipv6-es.com
> > > > > > >
> > > > > > > This electronic message contains information which may be
> privileged
> > > > or
> > > > > > confidential. The information is intended to be for the use of the
> > > > > > individual(s) named above. If you are not the intended recipient
> be
> > > > aware
> > > > > > that any disclosure, copying, distribution or use of the contents
> of
> > > > this
> > > > > > information, including attached files, is prohibited.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > LACTF mailing list
> > > > > > > LACTF at lac.ipv6tf.org
> > > > > > > http://lacnic.net/mailman/listinfo/lactf
> > > > > >
> > > > > > _______________________________________________
> > > > > > LACTF mailing list
> > > > > > LACTF at lac.ipv6tf.org
> > > > > > http://lacnic.net/mailman/listinfo/lactf
> > > > > >
> > > > >
> > > > >
> > > > > **********************************
> > > > > Madrid 2003 Global IPv6 Summit
> > > > > Presentations and videos on line at:
> > > > > http://www.ipv6-es.com
> > > > >
> > > > > This electronic message contains information which may be privileged
> or
> > > > confidential. The information is intended to be for the use of the
> > > > individual(s) named above. If you are not the intended recipient be
> aware
> > > > that any disclosure, copying, distribution or use of the contents of
> this
> > > > information, including attached files, is prohibited.
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > LACTF mailing list
> > > > > LACTF at lac.ipv6tf.org
> > > > > http://lacnic.net/mailman/listinfo/lactf
> > > >
> > > > _______________________________________________
> > > > LACTF mailing list
> > > > LACTF at lac.ipv6tf.org
> > > > http://lacnic.net/mailman/listinfo/lactf
> > > ---end quoted text---
> > >
> > > --
> > > _______________________________________________
> > > LACTF mailing list
> > > LACTF at lac.ipv6tf.org
> > > http://lacnic.net/mailman/listinfo/lactf
> > ---end quoted text---
> >
> > --
> >
> > Pablo Allietti
> >
> > LACNIC
> >
> > Registro de Direcciones de Internet para America Latina y el Caribe
> > Registro de Enderecamento de Internet para America Latina e Caribe
> > Latin American and Caribbean Internet Addresses Registry
> >
> >
> > _______________________________________________
> > LACTF mailing list
> > LACTF at lac.ipv6tf.org
> > http://lacnic.net/mailman/listinfo/lactf
>
> _______________________________________________
> LACTF mailing list
> LACTF at lac.ipv6tf.org
> http://lacnic.net/mailman/listinfo/lactf
---end quoted text---
--
Pablo Allietti
LACNIC
Registro de Direcciones de Internet para America Latina y el Caribe
Registro de Enderecamento de Internet para America Latina e Caribe
Latin American and Caribbean Internet Addresses Registry
More information about the LACTF
mailing list