[GRASS-user] grass program compilation

alassane toure atourej at gmail.com
Tue May 5 11:42:25 PDT 2015


Anna,
I followed instructions from [1] issuing the followings:
(1) svn co https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0
grass70_release
(2)

CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \--enable-largefile=yes
\--with-nls \--with-cxx \--with-readline \--with-pthread
\--with-proj-share=/usr/local/share/proj/
\--with-geos=/usr/local/bin/geos-config \--with-wxwidgets
\--with-cairo \--with-opengl-libs=/usr/include/GL \--with-freetype=yes
--with-freetype-includes="/usr/include/freetype2/"
\--with-postgres=yes
--with-postgres-includes="/usr/include/postgresql" \--with-sqlite=yes
\--with-mysql=yes --with-mysql-includes="/usr/include/mysql"
\--with-odbc=no \--with-liblas=yes
--with-liblas-config=/usr/bin/liblas-config

(1) went ok but (2) did not with error...
bash: ./configure: No such file or directory

Any other suggestions?

I appreciate!

Alassane


On Tue, May 5, 2015 at 6:03 AM, Anna Petrášová <kratochanna at gmail.com>
wrote:

>
>
> On Mon, May 4, 2015 at 10:23 PM, alassane toure <atourej at gmail.com> wrote:
>
>> Group,
>> I need your help to start developing new functions based on existing ones and GRASS libraries. My short term goal is to be able to compile the test program r.example.
>> I first started by installing the binary using the followings on Ubuntu:
>>
>> (1)
>> sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
>> sudo add-apt-repository ppa:grass/grass-stable
>> sudo apt-get update
>> sudo apt-get install grass7
>>
>> (2) Because I needed the libraries, I downloaded grass-7.0.0.tar.gz and followed instructions provided in "http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu"
>>
>> However when I issued the command...
>>
>> sudo make install
>>
>> The system response was...
>>
>>
>> alassane at alassane-MS-7593:~/Downloads$ sudo make install
>> [sudo] password for alassane:
>> make: *** No rule to make target `install'.  Stop.
>>
>> Hi Alassane,
>
> perhaps you are in a wrong directory? You should be in the directory where
> you unpacked the archive. You can also download the repository with
> subversion so that you can update GRASS easily [1]. Have you followed the
> other steps listed here [1], like configure and make? There are necessary
> before you can run make install.
>
> [1] http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS
>
> Cheers,
> Anna
>
>>
>> Any help to compile r.example is appreciate.
>>
>> Regards,
>>
>> Alassane
>>
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150505/36056cf7/attachment-0001.html>


More information about the grass-user mailing list