[GiNaC-list] GiNaC vs non-GNU readline
Charlls Quarra
charlls_quarra at yahoo.com.ar
Tue Jan 30 20:36:20 CET 2007
--- David Fang <fang at csl.cornell.edu> escribió:
> try this:
>
> fink list readline (or readline5)
> tells you the status of all readline packages, and
> if
> they are installed or not
>
> fink remove readline
> removes it from installation, but keeps the package
> around
> so it doesn't have to be rebuilt
>
> fink install readline
> installs it right back
>
> (and no harm done to fink :D)
>
ok i trust you :)
$ fink list readline
Information about 5919 packages read in 2 seconds.
readline 4.3-1028
Comfortable terminal input library
readline-java 0.8.0-1024
Readline support for Java
readline-shlibs 4.3-1028
Comfortable terminal input library
i readline5 5.0-1005
Comfortable terminal input library
i readline5-shlibs 5.0-1005
Comfortable terminal input library
term-readline-gnu-pm586 1.15-1004
Perl extension for the GNU Readline
term-readline-pm 1.0203-12
Minimal interface to Readline
p term-readline-pm586
[virtual package]
term-readline-pm588
[virtual package]
ok so apparently readline5 is installed;
$ fink remove readline5
Information about 5919 packages read in 0 seconds.
Reading buildlock packages...
/sw/bin/dpkg-lockwait --remove readline5
(Reading database ... 36598 files and directories
currently installed.)
Removing readline5 ...
install-info(history.info): deleting entry `* History:
(history) ...'
install-info(readline.info): deleting entry `*
Readline: (readline) ...'
install-info(rluserman.info): deleting entry `*
RLuserman: (rluserman) ...'
install-info(rluserman.info): deleting empty section
`Libraries'
OK but!! -shlibs has dependencies->
$ fink remove readline5-shlibs
Information about 5919 packages read in 0 seconds.
Reading buildlock packages...
/sw/bin/dpkg-lockwait --remove readline5-shlibs
dpkg: dependency problems prevent removal of
readline5-shlibs:
libxml2-bin depends on readline5-shlibs (>=
5.0-1004).
/sw/bin/dpkg: error processing readline5-shlibs
(--remove):
dependency problems - not removing
Errors were encountered while processing:
readline5-shlibs
### execution of /sw/bin/dpkg-lockwait failed, exit
code 1
ERROR: Can't remove package(s). If the above error
message mentions dependency problems, you can try
fink remove --recursive readline5-shlibs
This will attempt to remove the package(s) specified
as well as ALL packages that depend on it.
Failed: can't remove package readline5-shlibs
ok it doesn't matter, because at the end, i get to
reproduce the compile error:
Making all in ginsh
sed -n -f ./ginsh_op_help.sed <ginsh.1
>ginsh_op_help.h
sed -n -f ./ginsh_fcn_help.sed <ginsh.1
>ginsh_fcn_help.h
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../ginac
-I../ginac -DIN_GINAC -I/sw/include
-I/usr/local/include -I/sw/include -I/sw/include -MT
ginsh_parser.o -MD -MP -MF ".deps/ginsh_parser.Tpo" -c
-o ginsh_parser.o ginsh_parser.cc; \
then mv -f ".deps/ginsh_parser.Tpo"
".deps/ginsh_parser.Po"; else rm -f
".deps/ginsh_parser.Tpo"; exit 1; fi
ginsh_parser.yy:50:6: error: missing binary operator
before token "wrapper"
ginsh_parser.yy:56:6: error: missing binary operator
before token "wrapper"
ginsh_parser.yy:860:6: error: missing binary operator
before token "wrapper"
ginsh_parser.yy:870:6: error: missing binary operator
before token "wrapper"
ginsh_parser.yy:922:6: error: missing binary operator
before token "wrapper"
ginsh_parser.yy: In function 'char**
fcn_completion(const char*, int, int)':
ginsh_parser.yy:858: error: invalid conversion from
'const char*' to 'char*'
ginsh_parser.yy:863: error:
'rl_filename_completion_function' was not declared in
this scope
ginsh_parser.yy:863: error: 'rl_completion_matches'
was not declared in this scope
ginsh_parser.yy:873: error: 'rl_completion_matches'
was not declared in this scope
make[2]: *** [ginsh_parser.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Ok now i reinstall readline5 to make sure everything
is ok, and everything compiles perfect again.
> FYI: I was able to reproduce your config.log and
> your errors, they have
> been diagnosed.
>
eh?? no sorry, to be clear; my ginac compiled and
compiles perfectly on OS X 10.4.8, i was just trying
to help find the reason some guy on the list wasn't
able to compile it on the same os.
cheers
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
More information about the GiNaC-list
mailing list