Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apertium-init doesn't make corpus dir #44

Open
ftyers opened this issue Mar 31, 2018 · 1 comment
Open

apertium-init doesn't make corpus dir #44

ftyers opened this issue Mar 31, 2018 · 1 comment
Labels

Comments

@ftyers
Copy link
Member

ftyers commented Mar 31, 2018

fran@matxine:/tmp/apertium-pus$ ./autogen.sh 
make
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
Makefile.am: installing './INSTALL'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for APERTIUM... yes
checking for LTTOOLBOX... yes
checking for cg-comp... /usr/bin/cg-comp
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apertium-pus.pc
fran@matxine:/tmp/apertium-pus$ make
apertium-validate-dictionary apertium-pus.pus.dix
lt-comp lr apertium-pus.pus.dix pus.automorf.bin apertium-pus.pus.acx
final@inconditional 4 11
main@standard 16 22
lt-print pus.automorf.bin | gzip -9 -c -n > pus.automorf.att.gz
test -d .deps || mkdir .deps
touch .deps/.d
apertium-validate-dictionary apertium-pus.pus.dix
lt-comp rl apertium-pus.pus.dix pus.autogen.bin apertium-pus.pus.acx
final@inconditional 4 11
main@standard 16 22
lt-print pus.autogen.bin | gzip -9 -c -n > pus.autogen.att.gz
lt-comp lr apertium-pus.post-pus.dix pus.autopgen.bin
main@standard 5 8
make: *** No rule to make target 'corpus/pus.tagged', needed by 'pus.prob'.  Stop.
@sushain97
Copy link
Member

How did you invoke apertium-init? It works fine for me:

[92671:92669 - 0:518] 01:42:40 [[email protected]:o +1] ~/Documents/apertium-init
$ ./apertium-init.py pus
Successfully created /Users/Sushain/Documents/apertium-init/apertium-pus.
Initialized git repository apertium-pus.
Successfully added and committed files to git repository apertium-pus.
To push your new local repository to incubator in the Apertium organisation on GitHub:
	apertium-init.py -pe /Users/Sushain/Documents/apertium-init/apertium-pus pus
[92671:92669 - 0:519] 01:43:39 [[email protected]:o +1] ~/Documents/apertium-init
$ ls apertium-pus/
AUTHORS                   README                    apertium-pus.pus.dix      modes.xml
COPYING                   README.md                 apertium-pus.pus.rlx      pus.prob
ChangeLog                 apertium-pus.pc.in        autogen.sh
Makefile.am               apertium-pus.post-pus.dix configure.ac
NEWS                      apertium-pus.pus.acx      corpus
[92671:92669 - 0:520] 01:43:42 [[email protected]:o +1] ~/Documents/apertium-init
$ cd apertium-pus/
[92671:92669 - 0:521] 01:43:47 [[email protected]:o +1] ~/Documents/apertium-init/apertium-pus
$ ./autogen.sh && make
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
Makefile.am: installing './INSTALL'
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether ln -s works... yes
checking for gawk... (cached) awk
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for apertium >= 3.4.0... yes
checking for lttoolbox >= 3.3.2... yes
checking for cg-comp... /usr/local/bin/cg-comp
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apertium-pus.pc
apertium-validate-dictionary apertium-pus.pus.dix
lt-comp lr apertium-pus.pus.dix pus.automorf.bin apertium-pus.pus.acx
final@inconditional 4 11
main@standard 9 10
lt-print pus.automorf.bin | gzip -9 -c -n > pus.automorf.att.gz
test -d .deps || mkdir .deps
touch .deps/.d
apertium-validate-dictionary apertium-pus.pus.dix
lt-comp rl apertium-pus.pus.dix pus.autogen.bin apertium-pus.pus.acx
final@inconditional 4 11
main@standard 9 10
lt-print pus.autogen.bin | gzip -9 -c -n > pus.autogen.att.gz
lt-comp lr apertium-pus.post-pus.dix pus.autopgen.bin
main@standard 5 8
/usr/local/bin/cg-comp apertium-pus.pus.rlx pus.rlx.bin
Sections: 1, Rules: 2, Sets: 7, Tags: 17
1 rules cannot be skipped by index.
apertium-validate-modes modes.xml
apertium-gen-modes modes.xml
[92671:92669 - 0:522] 01:44:05 [[email protected]:o +1] ~/Documents/apertium-init/apertium-pus
$ ls
AUTHORS                   aclocal.m4                config.log                pus-gener.mode
COPYING                   ap_include.am             config.status             pus-morph.mode
ChangeLog                 apertium-pus.pc           configure                 pus-tagger.mode
INSTALL                   apertium-pus.pc.in        configure.ac              pus.autogen.att.gz
Makefile                  apertium-pus.post-pus.dix corpus                    pus.autogen.bin
Makefile.am               apertium-pus.pus.acx      install-sh                pus.automorf.att.gz
Makefile.in               apertium-pus.pus.dix      missing                   pus.automorf.bin
NEWS                      apertium-pus.pus.rlx      modes                     pus.autopgen.bin
README                    autogen.sh                modes.xml                 pus.prob
README.md                 autom4te.cache            pus-disam.mode            pus.rlx.bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants