Il 14/03/2015 20:06, Benoît Minisini ha scritto:
> Le 14/03/2015 18:52, Lewis Balentine a écrit :
>> Regarding Linux Mint 17.1 (a.k.a. Rebecca):
>> Becky had some teething problems and added a bunch off fancy user
>> interface graphics that I did not need or want. Thus I decided to stick
>> with 17.0 (updated of course --- so I may have all that stuff I did not
>> want).
>> ============
>>
>>> Strange, as I successfully compiled and installed the development version
>> on Mint 17.1 a few weeks ago.<
>> ----------------------
>> I install version 3.6.2 from the ppa. My abilities with 'C', 'C++',
>> 'C#', gcc , g++, make, gbd, etc. are very limited. They are getting
>> better. I am now capable of compiling the following 'C' program:
>> int main(){};
>> ... and I am working on helloworld.c
>>
>> So I created a fresh VMWware virtual machine for build Gambas. It is
>> based on an OVF image of Linux Mint X64(OEM) with Mate desktop that I
>> maintain for such things. That gives me a more less 'virgin' environment
>> with new machine name, user name and password. I get the same errors on
>> that machine as well. (I now have an backup OVF image of a 'virgin'
>> GambasBuild machine as well ;-) The Idea is that I can create new
>> machine, extract the new source to it and run the shell script (see
>> attached) to build a new version (when I get it working).
>> ===================
>>
>> Progress:
>>
>> 1) commenting AC_LIBLTDL_CONVENIENCE in the 'acinclude.m4' file resolved
>> the "./reconf-all" error.
>>      (note: has to be done BEFORE the FIRST attempt to build gambas)
>> 2) several errors produced by "make" because Mint does not install g++
>> by default (resolved)
>> 3) "sudo make install" produces the following errors:
>> ----------------------
>> libtool: install: /usr/bin/install -c .libs/gb.image.effect.so.0.0.0
>> /usr/lib/gambas3/gb.image.effect.so.0.0.0
>> /usr/bin/install: cannot stat '.libs/gb.image.effect.so.0.0.0': No such
>> file or directory
>> make[5]: *** [install-gblibLTLIBRARIES] Error 1
>> make[5]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect'
>> make[4]: *** [install-am] Error 2
>> make[4]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect'
>> make[3]: *** [install-recursive] Error 1
>> make[3]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib'
>> make[2]: *** [install-recursive] Error 1
>> make[2]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main'
>> make[1]: *** [install] Error 2
>> make[1]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main'
>> make: *** [install-recursive] Error 1
>> ----------------------
>> I am guessing the the "libs" (not the 's') directory is actually
>> "~/Documents/Build/gambas3-3.7.0/main/lib/image.effect/.libs"
>> There are two directory entries there listed as as "link broken
>> (inode/symlink)":
>>     gb.image.effect.so
>>     gb.image.effect.so.0
>> So I went looking to see if there were any other "broken links" ...
>>     ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so
>>     ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so.0
>>
>> ====================
>> Just to be sure this was not a fluke.
>> I replaced the image and tried again ...
>> second time around I got different errors;
>> among them are:
>>     gbi3: warning: component gb.xml.rpc not found
>> ----
>>     Compiling gb.eval.highlight...
>>     gbc: error: Component not found: gb.qt4
>>     Compiling gb.args
>>     OK
>>     Installing gb.args...
>>     gbi3: warning: component gb.xml.rpc not found
>>     Compiling gb.settings...
>>     OK
>> ---
>>     Installing the development environment...
>>     Compiling gambas3...
>>     gbc: error: Component not found: gb.qt4
>>     Compiling gbs3...
>>     OK
>> ---
>>     Installing gbs3...
>>     Installing the scripter...
>>     Registering Gambas script mimetype
>>     Registering Gambas server page mimetype
>>     Installing the Gambas appdata file
>>     make[2]: Nothing to be done for `install-data-am'.
>>     make[2]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/app'
>>     make[1]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/app'
>>     Making install in .
>>     make[1]: Entering directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0'
>>     make[2]: Entering directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0'
>>
>>     ||
>>     || Unable to compile gb.eval.highlight
>>     || Unable to compile gb.gui.base
>>     || Unable to compile gb.form
>>     || Unable to compile gb.form.dialog
>>     || Unable to compile gb.form.mdi
>>     || Unable to compile gb.db.form
>>     || Unable to compile gb.desktop
>>     || Unable to compile gb.report
>>     || Unable to compile gb.report2
>>     || Unable to compile gb.chart
>>     || Unable to compile gb.net.pop3
>>     || Unable to compile gb.memcached
>>     || Unable to compile gb.map
>>     || Unable to compile gb.media.form
>>     || Unable to compile gambas3
>> ---
>> I am guessing that my 'virgin' machine is missing some required
>> libraries or dev files.
>> ... but I have other thing to attended to. I will have to get back to
>> this later.
>>
>> Regards,
>>
>> Lewis
>>
>
> Install the packages specified on the wiki, on the Ubuntu page.
>
> Regards,
>

Hi Lewis,
for Ubuntu 14.04.02 LTS.
Library (as Trunk plus llvm-3.4-dev):
~ $ sudo apt-get install build-essential g++ automake autoconf 
libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev 
libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev 
libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev 
libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev 
libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev 
libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev 
libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev 
libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev 
libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev 
libncurses5-dev libgmime-2.6-dev llvm-3.4-dev libalure-dev libgmp-dev 
libgtk-3-dev postgresql-server-dev-9.3 libsdl2-dev libsdl2-mixer-dev 
libsdl2-ttf-dev libsdl2-image-dev sane-utils libpoppler-private-dev 
libqtwebkit-dev llvm-dev llvm

To remove 3.7.0 not working:
~ $ cd gambas3-3.7.0/
~ /gambas3-3.7.0 $ sudo make uninstall
~ /gambas3-3.7.0 $ cd ..
~ $ rm -rf gambas3-3.7.0/

After:
~ $ tar xvjf gambas3-3.7.0.tar.bz2
~ $ cd gambas3-3.7.0
~/gambas3-3.7.0$ ( ./reconf-all && ./configure -C ) > 
~/Desktop/R_conf3-7.log 2>&1
~/gambas3-3.7.0$ ( make && sudo make install ) > 
~/Desktop/Make_Inst3-7.log 2>&1

Regards
Gianluigi

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to