[Gambas-user] libtool problem

o.s.p o.s.p at ...69...
Mon Nov 30 09:16:44 CET 2009


Le samedi 28 novembre 2009 14:09:06, o.s.p a écrit :
>> hallo!
>> frugalware (current) here with libtool 2.2.6b
>> when in make install step i have this error:
>> .....
>> libtool: Version mismatch error.  This is libtool 2.2.6, but the
>> libtool: definition of this LT_INIT comes from libtool 2.2.6b.
>> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
>> libtool: and run autoconf again.
>> make[2]: *** [gbc3] Error 63
>> make[2]: Leaving directory `/home/god/Desktop/src/g/trunk/main/gbc'
>> make[1]: *** [install-recursive] Error 1
>> make[1]: Leaving directory `/home/god/Desktop/src/g/trunk/main'
>> make: *** [install-recursive] Error 1
>>
>>
>> thanks
>>
>> ---------------------------------------------------------------------------
>> --- Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>  30-Day trial. Simplify your report design, integration and deployment -
>>  and focus on what you do best, core application coding. Discover what's
>>  new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>     
>
> Put this file in the root of gambas dir and run ./reconf-all
> It's only a quick workaround but it's working.
>
> ++
>   

perfect!
i've added the libtoolize command to my scripts attached here for those
who whant to keep cool its gambas!
but first check if the string at row 11 in svngb is correct for your
language
my 2 cents...
thank you
-------------- next part --------------
#!/bin/bash
#$1 user
#$2 url
#$3 version
set +x
echo
echo $1
echo $2
echo $3
echo $4
echo "-------------------------------------------"

if [ "$4" = "-u" ];then

	echo "uninstalling!!!!"
	make uninstall
	exit
fi


if [ "$4" = "-r" ];then

	svn checkout $2
	echo
	echo "svn refreshed; to do:"
	echo "1 \#make uninstall"
	echo "2 reconf-all"
	echo "3 configure -C"
	echo "4 make"
	echo "5 \#make install"
	exit
fi

if [ "$4" = "-c" ];then

	cd $3
	echo " "
	echo "uninstall ----------------------------------"
	echo " "
	make uninstall
	echo " "
	echo "reconf -------------------------------------"
	echo " "
	su "$1" -c "./reconf-all"
su "$1" -c "libtoolize --copy --force"
	echo " "
	echo "config -------------------------------------"
	echo " "
	su "$1" -c "./configure -C | tee config.log"
	echo " "
	echo "make ---------------------------------------"
	echo " "
	su "$1" -c "make | tee make.log"
	echo " "
	echo "install ------------------------------------"
	echo " "
	make install | tee install.log
	echo "done! --------------------------------------"
	exit
fi


cd $3
echo " "
echo "uninstall ----------------------------------"
echo " "
make uninstall
echo " "
cd ..
echo "going on svn -------------------------------"
pwd
su "$1" -c "svn checkout $2"
cd $3
echo "reconf -------------------------------------"
echo " "
su "$1" -c "./reconf-all"
su "$1" -c "libtoolize --copy --force"
echo " "
echo "config -------------------------------------"
echo " "
su "$1" -c "./configure -C | tee config.log"
echo " "
echo "make ---------------------------------------"
echo " "
su "$1" -c "make | tee make.log"
echo " "
echo "install ------------------------------------"
echo " "
make install | tee install.log
echo "done all!-----------------------------------"

-------------- next part --------------
#!/bin/bash
#must run as root and do somethings as user
#set -x

echo "Params: -r   scarica svn solamente"
echo "        -c   compila e installa solamente"
echo "        -u   disinstalla"
echo

#change this to match your language
GRP="Revisione:"


#V="2.0"
#URL="https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/branches/"$V"/"

U=$USER
V="trunk"
URL="https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/"$V"/"


if [ "$1" = "-u" ]; then
	if [ -d $V ]; then 
		kdesu "konsole --noclose --nomenubar --notabbar -e nice -n 10 ./doit $U $URL $V $1"
	else
		echo "no folder for $V"
		exit	
	fi
fi


if [ -d $V ]; then 
	l=$(svn info $V | grep $GRP)
else
	mkdir $V
	l="00000"
fi

if [ "$1" = "-c" ]; then
	r="00000"
else
	ping -c 1 gambas.svn.sourceforge.net 2&>1 /dev/null
	if [ $? =  0 ]; then
		r=$(svn info $URL | grep $GRP)
	else
		echo "no net!"
		exit
	fi
fi
echo " local: $l"
echo "remote: $r"

if [ "$1" == "-r" ]; then
	echo
else
	if [ "$l" == "$r" ]; then 
		echo "same version or nothing to do!"
		exit
	fi
fi
echo "proceed? (Y/n):"
read boh
if [ "$boh" = "y" ] || [ "$boh" = "" ] || [ "$boh" = "Y" ]; then
	echo 
	echo "procedure:"
	echo "(root) make unistall"
	echo "svn download"
	echo "./reconf-all"
	echo "./configure -C"
	echo "make"
	echo "(root) make install"
	echo 
	if [ "$1" = "-r" ]; then
		nice 10 ./doit jondoe $URL $V $1
	else
		kdesu "konsole --noclose --nomenubar --notabbar -e nice -n 10 ./doit $U $URL $V $1"
	fi
else
	echo "bye..."
fi
echo " "


More information about the User mailing list