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

Installation help #459

Closed
p5pRT opened this issue Aug 30, 1999 · 2 comments
Closed

Installation help #459

p5pRT opened this issue Aug 30, 1999 · 2 comments

Comments

@p5pRT
Copy link

@p5pRT p5pRT commented Aug 30, 1999

Migrated from rt.perl.org#1300 (status was 'resolved')

Searchable as RT1300$

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Aug 30, 1999

From ader_candy@yahoo.com

I met a error message in "make"steps,
and I enclosed the information in last mail.
but a pity that enclosed file lost.
Now I paste them below​:


What is your architecture name [IP27-irix]

Do you wish to attempt to use the malloc that comes with perl5? [n] y

Your system wants malloc to return 'void *', it would seem.
Your system uses void free(), it would seem.

I can use the #! construct to start perl on your system. This will
make startup of perl scripts faster, but may cause problems if you
want to share those scripts and perl is not in a standard place
(/disk2/gcgusers/ader/perl/bin/perl) on all your platforms. The
alternative is to force
a shell by starting the script with a single '​:' character.

What shall I put after the #! to start up perl ("none" to not use #!)?
[/disk2/gcgusers/ader/perl/bin/perl] /disk2/gcgusers/ader/perl/bin/perl

I'll use #!/disk2/gcgusers/ader/perl/bin/perl to start perl scripts.

Checking alignment constraints...
Doubles must be aligned on a how-many-byte boundary? [8] 8

What type of pointer is the second argument to getgroups() and
setgroups()?
Usually this is the same as group ids, gid_t, but not always.

What type pointer is the second argument to getgroups() and
setgroups()?
[gid_t] gid_t

Checking to see what type of argument is accepted by gethostbyname().
Your system accepts const char *.

Checking to see what type of 1st argument is accepted by
getnetbyaddr().
Your system accepts long.

What pager is used on your system? [/usr/bsd/more]
/disk2/gcgusers/ader/perl/bin/more

Looking for extensions...
A number of extensions are supplied with perl5. You may choose to
compile these extensions for dynamic loading (the default), compile
them into the perl5 executable (static loading), or not include
them at all. Answer "none" to include no extensions.
Note that DynaLoader is always built and need not be mentioned here.

What extensions do you wish to load dynamically?
[B Data/Dumper Fcntl IO IPC/SysV NDBM_File ODBM_File Opcode POSIX
SDBM_File Socket Thread attrs re] none
What extensions do you wish to load statically?
[B Data/Dumper Fcntl IO IPC/SysV NDBM_File ODBM_File Opcode POSIX
SDBM_File Socket Thread attrs re] none

Creating config.sh...
Hmm...You had some extra variables I don't know about...I'll try to
keep 'em...
  Propagating recommended variable $malloc_cflags...
  Propagating recommended variable $pp_ctl_cflags...

If you'd like to make any changes to the config.sh file before I begin
to configure things, do it as a shell escape now (e.g. !vi config.sh).

Press return or use a shell escape to edit config.sh​:

Updating makefile...
Now you must run a make.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

make

  `sh cflags libperl.a perlio.o` perlio.c
  CCCMD = cc -DPERL_CORE -c -DDEBUGGING
  rm -f libperl.a
  /usr/bin/ar rcu libperl.a perl.o malloc.o gv.o toke.o perly.o
op.o regcomp.o dump.o util.o mg.o byterun.o hv.o av.o run.o pp_hot.o
sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o taint.o
deb.o universal.o globals.o perlio.o
  cc -L/usr/local/lib -o miniperl miniperlmain.o libperl.a
ld32​: ERROR 33​: Unresolved text symbol "pthread_mutex_init" -- 1st
referenced by miniperlmain.o.
ld32​: ERROR 33​: Unresolved text symbol "pthread_mutex_destroy" -- 1st
referenced by miniperlmain.o.
ld32​: ERROR 33​: Unresolved text symbol "pthread_getspecific" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pow" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "atan2" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "sin" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "cos" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "exp" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "log" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "floor" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_mutex_lock" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_cond_signal" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_mutex_unlock" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_cond_wait" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_cond_init" -- 1st
referenced by libperl.a(util.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_cond_destroy" -- 1st
referenced by libperl.a(util.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_key_create" -- 1st
referenced by libperl.a(perl.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_join" -- 1st referenced
by libperl.a(perl.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_detach" -- 1st
referenced by libperl.a(perl.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_self" -- 1st referenced
by libperl.a(perl.o).What is your architecture name [IP27-irix]

Do you wish to attempt to use the malloc that comes with perl5? [n] y

Your system wants malloc to return 'void *', it would seem.
Your system uses void free(), it would seem.

I can use the #! construct to start perl on your system. This will
make startup of perl scripts faster, but may cause problems if you
want to share those scripts and perl is not in a standard place
(/disk2/gcgusers/ader/perl/bin/perl) on all your platforms. The
alternative is to force
a shell by starting the script with a single '​:' character.

What shall I put after the #! to start up perl ("none" to not use #!)?
[/disk2/gcgusers/ader/perl/bin/perl] /disk2/gcgusers/ader/perl/bin/perl

I'll use #!/disk2/gcgusers/ader/perl/bin/perl to start perl scripts.

Checking alignment constraints...
Doubles must be aligned on a how-many-byte boundary? [8] 8

What type of pointer is the second argument to getgroups() and
setgroups()?
Usually this is the same as group ids, gid_t, but not always.

What type pointer is the second argument to getgroups() and
setgroups()?
[gid_t] gid_t

Checking to see what type of argument is accepted by gethostbyname().
Your system accepts const char *.

Checking to see what type of 1st argument is accepted by
getnetbyaddr().
Your system accepts long.

What pager is used on your system? [/usr/bsd/more]
/disk2/gcgusers/ader/perl/bin/more

Looking for extensions...
A number of extensions are supplied with perl5. You may choose to
compile these extensions for dynamic loading (the default), compile
them into the perl5 executable (static loading), or not include
them at all. Answer "none" to include no extensions.
Note that DynaLoader is always built and need not be mentioned here.

What extensions do you wish to load dynamically?
[B Data/Dumper Fcntl IO IPC/SysV NDBM_File ODBM_File Opcode POSIX
SDBM_File Socket Thread attrs re] none
What extensions do you wish to load statically?
[B Data/Dumper Fcntl IO IPC/SysV NDBM_File ODBM_File Opcode POSIX
SDBM_File Socket Thread attrs re] none

Creating config.sh...
Hmm...You had some extra variables I don't know about...I'll try to
keep 'em...
  Propagating recommended variable $malloc_cflags...
  Propagating recommended variable $pp_ctl_cflags...

If you'd like to make any changes to the config.sh file before I begin
to configure things, do it as a shell escape now (e.g. !vi config.sh).

Press return or use a shell escape to edit config.sh​:

Updating makefile...
Now you must run a make.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

make

  `sh cflags libperl.a perlio.o` perlio.c
  CCCMD = cc -DPERL_CORE -c -DDEBUGGING
  rm -f libperl.a
  /usr/bin/ar rcu libperl.a perl.o malloc.o gv.o toke.o perly.o
op.o regcomp.o dump.o util.o mg.o byterun.o hv.o av.o run.o pp_hot.o
sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o taint.o
deb.o universal.o globals.o perlio.o
  cc -L/usr/local/lib -o miniperl miniperlmain.o libperl.a
ld32​: ERROR 33​: Unresolved text symbol "pthread_mutex_init" -- 1st
referenced by miniperlmain.o.
ld32​: ERROR 33​: Unresolved text symbol "pthread_mutex_destroy" -- 1st
referenced by miniperlmain.o.
ld32​: ERROR 33​: Unresolved text symbol "pthread_getspecific" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pow" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "atan2" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "sin" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "cos" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "exp" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "log" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "floor" -- 1st referenced by
libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_mutex_lock" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_cond_signal" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_mutex_unlock" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_cond_wait" -- 1st
referenced by libperl.a(pp.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_cond_init" -- 1st
referenced by libperl.a(util.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_cond_destroy" -- 1st
referenced by libperl.a(util.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_key_create" -- 1st
referenced by libperl.a(perl.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_join" -- 1st referenced
by libperl.a(perl.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_detach" -- 1st
referenced by libperl.a(perl.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_self" -- 1st referenced
by libperl.a(perl.o).
ld32​: ERROR 33​: Unresolved text symbol "pthread_setspecific" -- 1st
referenced by libperl.a(perl.o).
ld32​: INFO 60​: Output file removed because of error.
*** Error code 2 (bu21)

ld32​: ERROR 33​: Unresolved text symbol "pthread_setspecific" -- 1st
referenced by libperl.a(perl.o).
ld32​: INFO 60​: Output file removed because of error.
*** Error code 2 (bu21)

Maybe it's too long, anyway, it may be useful to you.
Please help me.

Yours sincerely

Ader
Fudan U. Shanghai, P.R.China
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http​://auctions.yahoo.com

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Aug 31, 1999

From @doughera88

On Mon, 30 Aug 1999, Anding Bi wrote​:

     cc  \-L/usr/local/lib \-o miniperl miniperlmain\.o libperl\.a 

Note that you have no libraries included here. Typically, you should have
something vaguely like

  -lnsl -lgdbm -ldbm -ldl -lm -lc -lposix

at the end of the library list. (This list is for SunOS; your list for
Irix will differ).

You should first

  rm config.sh

and then re-run Configure. When it asks you the question about libraries,
keep the default suggestion.

If you have further problems, please read and follow the instructions in
the INSTALL file about "Reporting Problems".

Hope this helps,

  Andy Dougherty doughera@​lafayette.edu
  Dept. of Physics
  Lafayette College, Easton PA 18042

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

Successfully merging a pull request may close this issue.

None yet
1 participant