Sebastian Schubert | 14 Jan 2007 21:43
Picon
Picon

Compile problems

Hi,

I tried the ebuild for Gentoo by Gour.  I am on an x86 machine with gcc
4.1.1 and I have two problems.

The first is connected to clisp:

,----
| ...
| make[3]: Leaving directory
| `/var/tmp/portage/xindy-2.2_beta2-r2/work/xindy-2.2-beta2/rte/clisp-2.33.2/src/po'
| make[3]: Entering directory
| `/var/tmp/portage/xindy-2.2_beta2-r2/work/xindy-2.2-beta2/rte/clisp-2.33.2/src/po'
| installing de.gmo as ../locale/de/LC_MESSAGES/clisp.mo installing
| clisplow_de.gmo as ../locale/de/LC_MESSAGES/clisplow.mo make[3]:
| Leaving directory
| `/var/tmp/portage/xindy-2.2_beta2-r2/work/xindy-2.2-beta2/rte/clisp-2.33.2/src/po'
| rm -rf data mkdir data cd data && ln -s
| ../../utils/unicode/UnicodeDataFull.txt .  cd data && ln -s
| ../../src/clhs.txt .  gcc -W -Wswitch -Wcomment -Wpointer-arith
| -Wimplicit -Wreturn-type -O -DUNICODE -DDYNAMIC_FFI -DNO_SIGSEGV
| -I. -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -x none spvw.o
| spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o
| pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o
| record.o sequence.o charstrg.o debug.o error.o misc.o time.o
| predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o ari80386.o
| modules.o libcharset.a libavcall.a libcallback.a -lreadline -lncurses
| -ldl -o lisp.run sync ./lisp.run -B . -N locale -Efile UTF-8
| -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\")
| (sys::%saveinitmem) (ext::exit))" WARNING: *FOREIGN-ENCODING*: reset
(Continue reading)

Joachim Schrod | 19 Jan 2007 01:20
Picon
Favicon

Re: Compile problems

>>>>> "SS" == Sebastian Schubert <sebastian-schubert <at> gmx.de> writes:

Hello,

SS> I tried the ebuild for Gentoo by Gour. I am on an x86 machine with
SS> gcc 4.1.1 and I have two problems.

Eventually, I was able to reproduce your first error. I cannot say yet
what's the problem, though. It seems to be a problem that occurs with
newer gccs; I haven't used them much up to now. (When the run time
engine has been created once, I don't tend to recreate it again.)

SS> To solve this I just hacked the rte/clisp-2.33.2/src/Makefile and
SS> added -falign-functions=4 to the CFLAGS. After "removing" this
SS> problem, I got another error after some time:

That workaround worked for me the following way:
 -- I called configure and make. Then your first error appeared.
 -- I edited rte/clisp-2.33.2/src/Makefile, as you told.
 -- In src, I executed:
       make clean
       make config.lisp
       make

At my system, this finished without problems.
Could you please check if that works at your system as well?

If yes, please execute also in src:
       make check || make check
and report if that works.
(Continue reading)

Sebastian Schubert | 19 Jan 2007 15:10
Picon
Picon

Re: Compile problems

Joachim Schrod <jschrod <at> acm.org> writes:

>>>>>> "SS" == Sebastian Schubert <sebastian-schubert <at> gmx.de> writes:
>
> SS> To solve this I just hacked the rte/clisp-2.33.2/src/Makefile and
> SS> added -falign-functions=4 to the CFLAGS. After "removing" this
> SS> problem, I got another error after some time:
>
> That workaround worked for me the following way:
>  -- I called configure and make. Then your first error appeared.
>  -- I edited rte/clisp-2.33.2/src/Makefile, as you told.
>  -- In src, I executed:
>        make clean
>        make config.lisp
>        make
>
> At my system, this finished without problems.
> Could you please check if that works at your system as well?

Worked.

>
> If yes, please execute also in src:
>        make check || make check
> and report if that works.

Seems fine as well:

,----
| RUN-ALL-TESTS: grand total: 0 errors out of 8,769 tests
(Continue reading)

Christoph Bier | 19 Jan 2007 17:19
Picon

Re: Problems breaking ligatures

Joachim Schrod schrieb am 11.11.2006 16:48:

[...]

> Concerning your encapsulator problem; I'll have a look at this, but
> not today.

Is there any news?

Best wishes

Christoph
--

-- 
+++ Typografie-Regeln: http://zvisionwelt.de/downloads.html (1.6)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Harald Harders | 28 Jan 2007 02:12
Picon
Picon

Markup for letter-group symbols and \see

Hello,

a few minutes ago, I managed to install xindy on my system. The binary 
version did not run at first, because it resists on the library 
libreadline.so.4. I only have libreadline.so.5 which is not accepted by 
xindy. My attempts to compile xindy did not succeed, it seemed to run but 
it wasn't able to deal with "|" at all (all "|textbf" and "|see" entries 
were completely ignored). I succeeded by generating a symbolic link of 
libreadline.so.5 under the name libreadline.so.4. I assume this is not 
intended by the binary distribution.

But now to my two current problems. 

1.) I would like to use the letter-group headers as it is the default. But 
when indexing items which start with a symbol or a digit, they are sorted 
in under the title "default". I would like them to be titled "Symbols" and 
"Numbers", respectively, as it can be done with makeindex by specifying 
  symhead_positive "Symbols"
  numhead_positive "Numbers"
in the style file. I have not found a possibility in xindy in the (very 
hard to read) documentation.

2.) I would like to make cross-links to entries in a subitem. To format 
them correctly, I use a LaTeX macro
  \newcommand\subind{\,--\,\hskip\z <at> skip}%
and the index entry
  \indexentry{maximum shear stress criterion|see{yield
    criterion\subind Tresca}}{502}
to link to
  \indexentry{yield criterion!Tresca}{87}
(Continue reading)

Jano Kula | 28 Jan 2007 12:45
Picon
Favicon

Re: Markup for letter-group symbols and \see

Hello,

Harald Harders wrote:

> 1.) I would like to use the letter-group headers as it is the default. But 
> when indexing items which start with a symbol or a digit, they are sorted 
> in under the title "default". I would like them to be titled "Symbols" and 
> "Numbers", respectively, as it can be done with makeindex by specifying 
>   symhead_positive "Symbols"
>   numhead_positive "Numbers"
> in the style file. I have not found a possibility in xindy in the (very 
> hard to read) documentation.

For now it is not possible in xindy style file. Oh, you want to make two 
distinct groups of symbols and numbers? Here I don't now, may be some 
sort rules could be written. But if one common group is enough and you 
just want to rename it then you can redefine lettergroup to some command 
e.g. \newletter

(markup-letter-group :open-head "\newletter{" :close-head "}\nopagebreak~n")

test in \newletter for string "deafult" and change it for something else:

\usepackage{ifthen}
\newcommand{\newletter}[1]{%
\ifthenelse{\equal{#1}{default}}
{\textbf{Symbols}}%
{\textbf{#1}}%
}%

(Continue reading)

Joachim Schrod | 28 Jan 2007 14:39
Picon
Favicon

Re: Markup for letter-group symbols and \see

>>>>> "HH" == Harald Harders writes:

HH> 1.) I would like to use the letter-group headers as it is the default. But 
HH> when indexing items which start with a symbol or a digit, they are sorted 
HH> in under the title "default". I would like them to be titled "Symbols" and 
HH> "Numbers", respectively, as it can be done with makeindex by specifying 
HH>   symhead_positive "Symbols"
HH>   numhead_positive "Numbers"
HH> in the style file.

Per default, symbols and numbers are sorted in one lettergroup.

The markup of that lettergroup can be changed by

(markup-letter-group :open-head "~n\lettergroupDefault{"
                     :close-head "}~n"
                     :group "default")

with the LaTeX command \lettergroupDefault defined as

\newcommand\lettergroupDefault[1]{
    \par\textbf{Symbols}\par
    \nopagebreak
}

Is this sufficient, or do you really need to separate symbols and
numbers? This is a bit harder, since one needs to change the sort
order first to separate them.

HH> 2.) I would like to make cross-links to entries in a subitem. To format 
(Continue reading)

Harald Harders | 28 Jan 2007 22:01
Picon
Picon

Re: Markup for letter-group symbols and \see

On Sun, 28 Jan 2007, Joachim Schrod wrote:

> HH> I would like them to be titled "Symbols" and 
> HH> "Numbers", respectively, ...
> 
> The markup of that lettergroup can be changed by
[...]
> 
> Is this sufficient, or do you really need to separate symbols and
> numbers? This is a bit harder, since one needs to change the sort
> order first to separate them.

Thank you, this is sufficient in this case. It is a cumbersome way to 
reach this. The two lettergroups should go into the to do list.

> HH> 2.) I would like to make cross-links to entries in a subitem. To format 
> HH> them correctly, I use a LaTeX macro
> HH>   \newcommand\subind{\,--\,\hskip\z <at> skip}%
> HH> and the index entry
> HH>   \indexentry{maximum shear stress criterion|see{yield
> HH>     criterion\subind Tresca}}{502}
> HH> to link to
> HH>   \indexentry{yield criterion!Tresca}{87}
> HH> Unfortunately, xindy does not recognise this as a valid cross
> HH> link.
> 
> Well, if you have a cross reference target that does not exist, xindy
> will output the message
> 
>  ERROR: Cross-reference-target ("XXX") does not exist!
(Continue reading)


Gmane