I already read that post before writing here, and I tried all that the 
author says (even using gcc with a symlink) without any achievement. I 
think the problem is here:

######
#
CCOMP=clang
#
GCFLAG=
#GCFLAG=-D_ATS_NGC
#GCFLAG=-D_ATS_GCBDW
#GCFLAG=-D_ATS_GCATS
#
CFLAGS=
LDFLAGS=
#
######

What values should I set to GCFLAG, CFLAGS and LDFLAGS?

I wonder if this must be set manually too:

######
#
# This variable is to be set externally
#
DESTDIR :=
#
######

I don't understand exactly what do you mean by "externally". That will be 
configured automatically or I have to write something?

Thanks.

El martes, 10 de octubre de 2017, 22:36:34 (UTC+2), gmhwxi escribió:
>
> That is good. Maybe this one can help:
>
>
> https://llaisdy.wordpress.com/2014/04/30/building-and-installing-ats-on-freebsd/
>
>
> On Tue, Oct 10, 2017 at 4:33 PM, Lajto <laj...@gmail.com <javascript:>> 
> wrote:
>
>> config.mk was generated. This is its content:
>>
>> INSTALL := /usr/bin/install -c
>> PACKAGE_TARNAME := ats2-postiats
>> PACKAGE_VERSION := 0.3.7
>>
>> prefix := /usr/local
>> exec_prefix := ${prefix}
>> bindir := ${exec_prefix}/bin
>>
>> abs_top_srcdir := /usr/home/lajto/.ats2-folder
>>
>> AR := ar
>> CC := cc
>> LN_S := ln -s
>> INSTALL := /usr/bin/install -c
>> MKDIR_P := ./install-sh -c -d
>>
>> PATSHOME := $(abs_top_srcdir)
>> PATSLIBHOME := $(prefix)/lib/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
>>
>> HAVE_LIBGMP := 
>>
>> El martes, 10 de octubre de 2017, 22:27:59 (UTC+2), gmhwxi escribió:
>>>
>>> Now my guess is that you did not generate config.mk.
>>> You need to first generate config.mk using config.mk.in.
>>>
>>> On Tuesday, October 10, 2017 at 4:20:44 PM UTC-4, gmhwxi wrote:
>>>>
>>>>
>>>> May be you can fix line 105 and line 106 as follow:
>>>>
>>>> export PATSHOME=$(PATSHOME)
>>>> export PATSLIBHOME=$(PATSLIBHOME)
>>>>
>>>> On Tuesday, October 10, 2017 at 4:11:14 PM UTC-4, Lajto wrote:
>>>>>
>>>>> I did 'ln -s /usr/local/share/automake-1.15/install-sh .' and it 
>>>>> works, but then I have another problem:
>>>>>
>>>>> make: "/usr/home/lajto/.ats2-folder/Makefile" line 105: Variable/Value 
>>>>> missing from "export"
>>>>> make: "/usr/home/lajto/.ats2-folder/Makefile" line 106: Variable/Value 
>>>>> missing from "export"
>>>>> make: Fatal errors encountered -- cannot continue
>>>>> make: stopped in /usr/home/lajto/.ats2-folder
>>>>>
>>>>> I suppose that PATSHOME must be (in my case) 
>>>>> /usr/home/lajto/.ats2-folder, but I don't know exactly what to do with 
>>>>> PATSLIBHOME (I don't understand its config.mk.in value).
>>>>>
>>>>> El martes, 10 de octubre de 2017, 21:08:03 (UTC+2), gmhwxi escribió:
>>>>>>
>>>>>>
>>>>>> Do 'locate install-sh' and you should find where it is on your 
>>>>>> machine.
>>>>>> For instance, this is where it is located on my machine:
>>>>>>
>>>>>> /usr/share/automake-1.15/install-sh
>>>>>>
>>>>>> You can create a symbolic to it in your ${PATSHOME} directory:
>>>>>>
>>>>>> ln -s /usr/share/automake-1.15/install-sh .
>>>>>>
>>>>>> Then you should be ready to compile and install ATS.
>>>>>>
>>>>>> On Tue, Oct 10, 2017 at 2:58 PM, Lajto <laj...@gmail.com> wrote:
>>>>>>
>>>>>>> I installed:
>>>>>>>
>>>>>>> pkg install math/gmp libtool autoconf automake
>>>>>>>
>>>>>>> 'sh autogen.sh' works, but when I do './configure' I get this:
>>>>>>>
>>>>>>> checking for gcc... no
>>>>>>> checking for cc... cc
>>>>>>> checking whether the C compiler works... yes
>>>>>>> checking for C compiler default output file name... a.out
>>>>>>> checking for suffix of executables... 
>>>>>>> checking whether we are cross compiling... no
>>>>>>> checking for suffix of object files... o
>>>>>>> checking whether we are using the GNU C compiler... yes
>>>>>>> checking whether cc accepts -g... yes
>>>>>>> checking for cc option to accept ISO C89... none needed
>>>>>>> configure: error: cannot find install-sh, install.sh, or shtool in 
>>>>>>> "." "./.." "./../.."
>>>>>>>
>>>>>>> What do I have to do now?
>>>>>>>
>>>>>>> El lunes, 9 de octubre de 2017, 20:00:52 (UTC+2), gmhwxi escribió:
>>>>>>>>
>>>>>>>> The command 'configure' is generated from executing autogen.sh.
>>>>>>>> Is there 'autoconf' support on FreeBSD?
>>>>>>>>
>>>>>>>> On Monday, October 9, 2017 at 11:49:30 AM UTC-4, Lajto wrote:
>>>>>>>>>
>>>>>>>>> I want to install ATS2 in FreeBSD, but there are some problems. I 
>>>>>>>>> downloaded ATS-Postiats-release using git and changed this settings 
>>>>>>>>> of the 
>>>>>>>>> Makefile:
>>>>>>>>>
>>>>>>>>> MAKE = gmake
>>>>>>>>> MAKEJ4 = gmake
>>>>>>>>> CCOMP = clang
>>>>>>>>>
>>>>>>>>> When I try to do "./configure", I get: command not found
>>>>>>>>>
>>>>>>>>> In The FreeBSD Forums someone says that 'configure' is a 
>>>>>>>>> Linux-oriented shell script 
>>>>>>>>> <https://forums.freebsd.org/threads/32843/#post-181205>, so I 
>>>>>>>>> need to make some fixes.
>>>>>>>>>
>>>>>>>>> What do I have to do in order to run "./configure" properly?
>>>>>>>>>
>>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "ats-lang-users" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to ats-lang-user...@googlegroups.com.
>>>>>>> To post to this group, send email to ats-lan...@googlegroups.com.
>>>>>>> Visit this group at https://groups.google.com/group/ats-lang-users.
>>>>>>> To view this discussion on the web visit 
>>>>>>> https://groups.google.com/d/msgid/ats-lang-users/296d216d-e5bd-4206-9ef9-6669598f52d8%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/ats-lang-users/296d216d-e5bd-4206-9ef9-6669598f52d8%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>>
>>>>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "ats-lang-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ats-lang-user...@googlegroups.com <javascript:>.
>> To post to this group, send email to ats-lan...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/ats-lang-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ats-lang-users/bae3a837-c66a-459b-985b-d2448f0221db%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ats-lang-users/bae3a837-c66a-459b-985b-d2448f0221db%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ats-lang-users+unsubscr...@googlegroups.com.
To post to this group, send email to ats-lang-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ats-lang-users/33fc25d7-44ac-4cb9-9bd8-8f2bf5501e3c%40googlegroups.com.

Reply via email to