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

Parrot can't load pcre library during installation #976

Closed
cono opened this issue Aug 11, 2013 · 2 comments
Closed

Parrot can't load pcre library during installation #976

cono opened this issue Aug 11, 2013 · 2 comments

Comments

@cono
Copy link
Contributor

cono commented Aug 11, 2013

I have the following error during the compilation:

./parrot_nci_thunk_gen
--dynext
--loader-name=Parrot_glut_nci_loader
--output=src/glut_nci_thunks.c
--no-warn-dups
< src/glut_nci_thunks.nci
Failed to load libpcre
current instr.: 'parrot;PCRE;init' pc 249 (runtime/parrot/library/pcre.pir:162)
called from Sub 'read_one_sig' pc 2117 (tools/dev/nci_thunk_gen.pir:888)
called from Sub 'read_sigs' pc 2038 (tools/dev/nci_thunk_gen.pir:850)
called from Sub 'main' pc 40 (tools/dev/nci_thunk_gen.pir:48)
make: *** [src/glut_nci_thunks.c] Error 1

Platform: Gentoo x64

The similar bug for previous version of PCRE: http://trac.parrot.org/parrot/ticket/578


osname= linux
osvers= 3.5.0-17-generic
arch= x86_64-linux-thread-multi

cc= x86_64-pc-linux-gnu-gcc

Flags:
category=install
severity=medium

ack=no

Summary of my parrot 5.5.0 configuration:
configdate='Sun Aug 11 09:01:11 2013 GMT'
Platform:
osname=linux, archname=x86_64-linux-thread-multi
perl=/usr/bin/perl5.12.4
Compiler:
cc='x86_64-pc-linux-gnu-gcc', ccflags='-D_REENTRANT -D_GNU_SOURCE -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.11/include ',
Linker and Libraries:
link='x86_64-pc-linux-gnu-gcc', linkflags='-Wl,-O1 -Wl,--as-needed -Wl,-E ',
ld='x86_64-pc-linux-gnu-gcc', ldflags='-Wl,-O1 -Wl,--as-needed',
cc_ldflags='',
libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp -lreadline -lffi '
Dynamic Linking:
cc_shared='-fPIC',
link_dynamic='-Wl,-E',
ld_share_flags='-shared -march=native -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -fPIC',
ld_load_flags='-shared -march=native -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -fPIC'
Extensions:
o='.o', a='.a', exe='',
share_ext='.so', load_ext='.so'
Misc Programs:
ar='ar', ranlib=':',
make='gmake', make_set_make='#'
Types:
iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
ptrsize=8, byteorder=12345678,
nv=double, numvalsize=8, doublesize=8, longdoublesize=16


Environment:
HOME =/home/cono
LANG =en_US.UTF-8
LANGUAGE =
LC_ALL =en_US.UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH =/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/x11r6/bin:/usr/games/bin:/home/cono/bin:/home/cono/work/rakudo:/home/cono/work/android/tools:/home/cono/work/android/platform-tools:.
SHELL =/bin/zsh

@cono
Copy link
Contributor Author

cono commented Aug 11, 2013

Pull request: #977

@zhuomingliang
Copy link
Contributor

@cono Thanks.

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

No branches or pull requests

2 participants