lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling on Cygwin


From: Yuval Harel
Subject: Re: Compiling on Cygwin
Date: Wed, 02 Feb 2005 14:59:35 +0200
User-agent: Opera M2/7.54 (Win32, build 3865)

Thanks, that did the trick (except I also needed -L/bin).
I also neede to make quite a few manual changes in lily/GNUmakefile.
Are manual changes always necessary on Cygwin or did something go wrong with
the configure or autogen scripts?

I now have trouble in the 'mf' directory. Here is the output.

mftrace --encoding feta11.enc --no-afm -I ./out/ --formats=pfa,pfb,svg feta11
autotrace: not found
mftrace 1.1.2
Font `feta11'...
Using encoding file: `./out/feta11.enc'
Running Metafont...
Tracing bitmaps... [33][34][35][36][37][38][39][40][41][42][43][44][45][46][47][
48][49][50][51][52][53][54][55][56][57][58][59][60][61][62][63][64][65][66][67][
68][69][70][71][72][73][74][75][76][77][78][79][80][81][82][83][84][85][86][87][
88][89][90][91][92][93][94][95][96][97][98][99][100][101][102][103][104][105][10
6][107][108][109][110][111][112][113][114][115][116][117][118][119][120][121][12
2][123][124][125][126][127][128][129][130][131][132][133][134][135][136][137][13
8][139][140][141][142][143][144][145][146][147][148][149][150][151][152][153][15
4][155][156][157][158][159][160][161][162][163][164][165][166][167][168][169][17
0][171][172][173][174][175][176][177][178][179][180][181][182][183][184][185][18
6][187][188][189][190][191][192][193][194]
Assembling raw font to `feta11.pfa'... This is t1asm 1.2.
c:\MiKTeX\texmf\miktex\bin\t1asm.exe: invalid option -- -
usage: t1asm [-b] [-l block-length] [input [output]]

-b means output in PFB format, otherwise PFA format.
The block length applies to the length of blocks in the
PFB output file; the default is to use the largest possible.
error: t1asm: command exited with value 256
Traceback (most recent call last):
  File "/usr/local/bin/mftrace", line 1255, in ?
    magnification, fontinfo)
  File "/usr/local/bin/mftrace", line 654, in trace_font
to_type1 (t1os, font_bbox, fontname, encoding, magnification, fontinfo )
  File "/usr/local/bin/mftrace", line 758, in to_type1
    system ('t1asm --pfa mftrace.t1asm %s' % outname + '.raw')
  File "/usr/local/bin/mftrace", line 241, in system
    error (msg)
  File "/usr/local/bin/mftrace", line 133, in error
    raise _ ("Exiting ... ")
Exiting ...
make: *** [out/feta11.pfa] Error 1



On Wed, 26 Jan 2005 12:38:41 +0100, Arno Waschk <address@hidden> wrote:
Hi,

i am using:

Index: python/GNUmakefile
===================================================================
RCS file: /cvsroot/lilypond/lilypond/python/GNUmakefile,v
retrieving revision 1.6
diff -u -w -d -B -r1.6 GNUmakefile
--- python/GNUmakefile  6 Nov 2004 22:32:29 -0000       1.6
+++ python/GNUmakefile  26 Jan 2005 11:35:07 -0000
@@ -5,7 +5,8 @@
  include $(depth)/make/stepmake.make

  # unset al guile stuff from configure
-USER_LDFLAGS=
+USER_CFLAGS=-I /usr/include/python2.4
+USER_LDFLAGS+=-lpython2.4

  INSTALLATION_OUT_SUFFIXES=1


Hope that helps...

Arno


On Tue, 25 Jan 2005 17:29:52 +0200, Yuval Harel <address@hidden> wrote:

Hi,

I'm trying to build Lilypond from CVS on Cygwin, and I get the following output
 from the 'python' directory. Any ideas?

Thanks,
        Yuval

make[1]: Entering directory `/home/UV/lilypond/python'
/home/UV/lilypond/stepmake/stepmake/generic-targets.make:142: out/dummy.dep: No
such file or directory
please ignore innocent warning about dummy.dep
mkdir -p ./out
touch ./out/dummy.dep
make[1]: Leaving directory `/home/UV/lilypond/python'
make[1]: Entering directory `/home/UV/lilypond/python'
cat lilylib.py | sed -e '#' -e 'address@hidden@!/bin/bash!g' -e 'address@hidden@!25JAN05!g' -e 'address@hidden@!/usr/local/bin/fontforge!g' -e 'address@hidden@!/usr/bin/guile!g' -e 'address@hidden@!LILYPOND!g' -e 'address@hidden@!:!g' -e 'address@hidden@!/usr/bin/perl!g ' -e 'address@hidden@!/usr/bin/python!g' -e 'address@hidden@!/bin/sh!g' -e 'address@hidden address@hidden' -e 'address@hidden@!/usr/local/bin!g' -e 'address@hidden@!/usr/local/ share!g' -e 'address@hidden@!25JAN05!g' -e 'address@hidden@!/usr/local/share/lil ypond!g' -e 'address@hidden@!/usr/local/lib/lilypond!g' -e 'address@hidden address@hidden/usr/local/share/lilypond/2.5.9!g' -e 'address@hidden@!/ usr/local/lib/lilypond/2.5.9!g' -e 'address@hidden@!/usr/local/share/locale!g' - e 'address@hidden@!lilypond!g' -e 'address@hidden@!/usr/local!g' -e 'address@hidden@ !!g' -e 'address@hidden@!.exe!g' -e 'address@hidden@!/usr/local/com!g'
-e 'address@hidden@!/home/UV/lilypond/stepmake/bin!g' > out/lilylib.py
chmod 755 out/lilylib.py
/usr/bin/python -c 'import py_compile; py_compile.compile ("out/lilylib.py")'
cp -p /home/UV/lilypond/config.hh out/config.hh
rm -f ./out/midi.dep; DEPENDENCIES_OUTPUT="./out/midi.dep ./out/midi.lo" gcc -c -DHAVE_CONFIG_H -DNDEBUG -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower /include -I../flower/./out -O2 -finline-functions -g -pipe -DNDEBUG -I/usr/i nclude/python2.4 -I/nonexistent/include -fpic -fPIC -o out/midi.lo midi.c cc1: warning: -fPIC ignored for target (all code is position independent)
g++ -shared -o out/midi.dll out/midi.lo
out/midi.lo(.text+0x70): In function `add_constants':
/home/UV/lilypond/python/midi.c:110: undefined reference to `_Py_BuildValue' out/midi.lo(.text+0x88):/home/UV/lilypond/python/midi.c:110: undefined reference
  to `_PyDict_SetItemString'
out/midi.lo(.text+0x175): In function `read_two_bytes':
/home/UV/lilypond/python/midi.c:159: undefined reference to `_Py_BuildValue'
out/midi.lo(.text+0x1bd): In function `read_three_bytes':
/home/UV/lilypond/python/midi.c:169: undefined reference to `_Py_BuildValue'
out/midi.lo(.text+0x22e): In function `read_string':
/home/UV/lilypond/python/midi.c:185: undefined reference to `_Py_BuildValue'
out/midi.lo(.text+0x26f): In function `initmidi':
/home/UV/lilypond/python/midi.c:406: undefined reference to `_Py_InitModule4' out/midi.lo(.text+0x277):/home/UV/lilypond/python/midi.c:407: undefined referenc
e to `_PyModule_GetDict'
out/midi.lo(.text+0x285):/home/UV/lilypond/python/midi.c:409: undefined referenc
e to `_PyString_FromString'
out/midi.lo(.text+0x29f):/home/UV/lilypond/python/midi.c:410: undefined referenc
e to `_PyDict_SetItemString'
out/midi.lo(.text+0x2ea):/home/UV/lilypond/python/midi.c:412: undefined referenc
e to `_PyString_FromString'
out/midi.lo(.text+0x304):/home/UV/lilypond/python/midi.c:413: undefined referenc
e to `_PyDict_SetItemString'
out/midi.lo(.text+0x320):/home/UV/lilypond/python/midi.c:110: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x338):/home/UV/lilypond/python/midi.c:110: undefined referenc
e to `_PyDict_SetItemString'
out/midi.lo(.text+0x3be): In function `read_f0_byte':
/home/UV/lilypond/python/midi.c:184: undefined reference to `_Py_BuildValue' out/midi.lo(.text+0x43e):/home/UV/lilypond/python/midi.c:184: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x45e):/home/UV/lilypond/python/midi.c:179: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x489): In function `pymidi_parse_track':
/home/UV/lilypond/python/midi.c:315: undefined reference to `_PyTuple_GetItem' out/midi.lo(.text+0x4a8):/home/UV/lilypond/python/midi.c:318: undefined referenc
e to `_PyArg_ParseTuple'
out/midi.lo(.text+0x4f6): In function `pymidi_parse':
/home/UV/lilypond/python/midi.c:378: undefined reference to `_PyTuple_GetItem' out/midi.lo(.text+0x515):/home/UV/lilypond/python/midi.c:381: undefined referenc
e to `_PyArg_ParseTuple'
out/midi.lo(.text+0x58a):/home/UV/lilypond/python/midi.c:40: undefined reference
  to `_PyErr_SetString'
out/midi.lo(.text+0x676): In function `midi_parse_track':
/home/UV/lilypond/python/midi.c:40: undefined reference to `_PyErr_SetString' out/midi.lo(.text+0x694):/home/UV/lilypond/python/midi.c:282: undefined referenc
e to `_PyList_New'
out/midi.lo(.text+0x6aa):/home/UV/lilypond/python/midi.c:287: undefined referenc
e to `_PyInt_FromLong'
out/midi.lo(.text+0x750):/home/UV/lilypond/python/midi.c:247: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x765):/home/UV/lilypond/python/midi.c:300: undefined referenc
e to `_PyList_Append'
out/midi.lo(.text+0x792):/home/UV/lilypond/python/midi.c:295: undefined referenc
e to `_PyInt_FromLong'
out/midi.lo(.text+0x8b0): In function `midi_parse':
/home/UV/lilypond/python/midi.c:361: undefined reference to `_PyList_New' out/midi.lo(.text+0x8d2):/home/UV/lilypond/python/midi.c:367: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x8e6):/home/UV/lilypond/python/midi.c:367: undefined referenc
e to `_Py_BuildValue'
out/midi.lo(.text+0x90c):/home/UV/lilypond/python/midi.c:365: undefined referenc
e to `_PyList_Append'
out/midi.lo(.text+0x96e):/home/UV/lilypond/python/midi.c:40: undefined reference
  to `_PyErr_SetString'
out/midi.lo(.text+0x143): In function `read_one_byte':
/home/UV/lilypond/python/midi.c:149: undefined reference to `_Py_BuildValue'
out/midi.lo(.text+0x3db): In function `read_f0_byte':
/home/UV/lilypond/python/midi.c:179: undefined reference to `_Py_BuildValue'
collect2: ld returned 1 exit status
make[1]: *** [out/midi.dll] Error 1
make[1]: Leaving directory `/home/UV/lilypond/python'
make: *** [all] Error 2




_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel









reply via email to

[Prev in Thread] Current Thread [Next in Thread]