compilation problems

33 views
Skip to first unread message

Littlefield, Tyler

unread,
Jun 29, 2012, 12:09:32 PM6/29/12
to pi...@roxen.com
Hello all:
I was trying to pull Pike's source from the website. The latest revision
returned a 404, so I hopped over to downloads and got the next
down--apparently Pike-v7.8.352. I extracted and ran make, and it locks
up (it's been there for the last hour now) on Checking to see how well
OOB works. Here's some info--anything else that's needed, please let me
know.
tyler@mango:~/Pike-v7.8.352$ uname -a
Linux mango 3.4.2-linode44 #1 SMP Tue Jun 12 15:04:46 EDT 2012 i686
GNU/Linux

--
Take care,
Ty
http://tds-solutions.net
The aspen project: a barebones light-weight mud engine:
http://code.google.com/p/aspenmud
He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.

Chris Angelico

unread,
Jun 29, 2012, 12:19:59 PM6/29/12
to Pike mailinglist
On Sat, Jun 30, 2012 at 2:09 AM, Littlefield, Tyler <ty...@tysdomain.com> wrote:
> Hello all:
> I was trying to pull Pike's source from the website. The latest revision
> returned a 404, so I hopped over to downloads and got the next
> down--apparently Pike-v7.8.352. I extracted and ran make, and it locks up
> (it's been there for the last hour now) on Checking to see how well OOB
> works.

A strange issue! Usually when I build, the OOB handling times out
after a little while (seconds, not minutes/hours). Try hitting Ctrl-C
and starting make again.

7.8.352 ought to be safe and stable; that's the version that's
currently running all my vital systems here. But also/alternatively,
you may wish to try what's about to become the latest stable:

http://pike.ida.liu.se/download/pub/pike/beta/7.8.686/

If you're on a Debian or Ubuntu system, you can also get Pike directly
from the repository (apt-get install pike) - I think it's a quite old
version (7.6ish) though. Not sure about Red Hat as I don't have/use
it.

ChrisA

Littlefield, Tyler

unread,
Jun 29, 2012, 12:42:05 PM6/29/12
to pi...@roxen.com
On 6/29/2012 10:19 AM, Chris Angelico wrote:
> A strange issue! Usually when I build, the OOB handling times out
> after a little while (seconds, not minutes/hours). Try hitting Ctrl-C
> and starting make again. 7.8.352 ought to be safe and stable; that's
> the version that's currently running all my vital systems here. But
> also/alternatively, you may wish to try what's about to become the
> latest stable: http://pike.ida.liu.se/download/pub/pike/beta/7.8.686/
> If you're on a Debian or Ubuntu system, you can also get Pike directly
> from the repository (apt-get install pike) - I think it's a quite old
> version (7.6ish) though. Not sure about Red Hat as I don't have/use
> it. ChrisA

Hello:
I've tried the ctrl+c and make route a couple of times. I've also done a
make clean and then tried a make again to see how it works. It's still
hanging
at the testing OOB bit. I also did a cd src and did ./configure help,
where it mentions that I can disable oob (and says it's unavailable).
Trying that
anyway makes configure exit with an error noting that oob is mandatory.

Littlefield, Tyler

unread,
Jun 29, 2012, 6:46:42 PM6/29/12
to pi...@roxen.com
Just wanted to throw some more info out. I updated to the latest version
that Chris threw out, and I'm still getting OOB hanging. It works fine
on stable(at least until gmp--I didn't want to install it on my main
server anyway, I just wanted to see if it'd get past the OOB problem),
so I'm thinking it's something to do with OOB).

Littlefield, Tyler

unread,
Jun 29, 2012, 7:16:31 PM6/29/12
to pi...@roxen.com
I'm sorry for flooding everyone with messages. I've found a resolution,
such as it is. When I did a ctrl+c again, I noticed that config data was
being stored to build/.../config.log. Going in there and doing a search
for oob showed it compiling and returning with a bunch of errno 110. so:
#include <errno.h>
#include <cstdio>

int main()
{
printf("%s\n", sys_errlist[110]);
return 0;
}
I don't know if there's a better way to do it, but it came up with
"connection timed out." Great. I disabled the firewall, still get
"connection timed out," but it just keeps going after that fails. I
don't know if this is an issue my side or somewhere else, but the
firewall makes OOB hang quite hard, so I wanted to let everyone know.
Hopefully this is of some use.

Henrik Grubbström

unread,
Jun 30, 2012, 6:55:28 AM6/30/12
to Littlefield, Tyler, pi...@roxen.com
On Fri, 29 Jun 2012, Littlefield, Tyler wrote:

> I'm sorry for flooding everyone with messages. I've found a resolution, such
> as it is. When I did a ctrl+c again, I noticed that config data was being
> stored to build/.../config.log. Going in there and doing a search for oob
> showed it compiling and returning with a bunch of errno 110. so:

Hi.

Can you provide a fragment of the log? I'm interested in exactly where in
the test it fails.

> I don't know if there's a better way to do it, but it came up with
> "connection timed out." Great. I disabled the firewall, still get "connection
> timed out," but it just keeps going after that fails. I don't know if this is
> an issue my side or somewhere else, but the firewall makes OOB hang quite
> hard, so I wanted to let everyone know. Hopefully this is of some use.

I've now made some changes to the configure test in Pike 7.8 and 7.9
that hopefully detect your problem.

--
Henrik Grubbstr�m gru...@roxen.com
Roxen Internet Software AB

Littlefield, Tyler

unread,
Jun 30, 2012, 10:01:05 AM6/30/12
to Henrik Grubbström
Awesome, thanks. I'm getting a lot more errors, I didn't want to keep
spamming everyone with them, I'm not sure what the deal is. it's from
the 52 version I think it was, along with the latest:
#### Making dynamic: post_modules/Shuffler
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/pike
-DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/tyler/Pike-v7.8.352
/build/linux-3.4.2-linode44-i686/master.pike
/home/tyler/Pike-v7.8.352/src/post_modules/Shuffler/make_sources.pike
/home/tyler/Pike
-v7.8.352/src/post_modules/Shuffler sources.h sources_to_compile
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:42: Error
in constant definition.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:180:
Failed to index module Files with 'Stat'. (Module doesn't
exist?)
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:361:
Cannot inherit program in pass 1 which is only a placehol
der.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:361:
(You probably have a cyclic symbol dependency that the co
mpiler cannot handle.)
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:369:
No inherit or surrounding class Pike_0_5_master.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:404:
No inherit or surrounding class Pike_0_5_master.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:431:
Cannot inherit program in pass 1 which is only a placehol
der.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:431:
(You probably have a cyclic symbol dependency that the co
mpiler cannot handle.)
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:642:
No inherit or surrounding class Pike_0_6_master.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:666:
Cannot inherit program in pass 1 which is only a placehol
der.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:666:
(You probably have a cyclic symbol dependency that the co
mpiler cannot handle.)
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:705:
No inherit or surrounding class Pike_7_0_master.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:729:
Cannot inherit program in pass 1 which is only a placehol
der.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:729:
(You probably have a cyclic symbol dependency that the co
mpiler cannot handle.)
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:798:
No inherit or surrounding class Pike_7_2_master.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:822:
Cannot inherit program in pass 1 which is only a placehol
der.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:822:
(You probably have a cyclic symbol dependency that the co
mpiler cannot handle.)
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:835:
No inherit or surrounding class Pike_7_4_master.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:850:
Cannot inherit program in pass 1 which is only a placehol
der.
/home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:850:
(You probably have a cyclic symbol dependency that the co
mpiler cannot handle.)
make[4]: *** [override] Segmentation fault
make[3]: *** [Shuffler] Error 1
make[2]: *** [post_module_objects] Error 1 ty...@tysdomain.com received
1 new message
make[1]: *** [_make_in_builddir] Error 2
make: *** [compile] Error 2

Henrik Grubbström

unread,
Jun 30, 2012, 5:30:21 PM6/30/12
to Littlefield, Tyler, Pike mailinglist
On Sat, 30 Jun 2012, Littlefield, Tyler wrote:

> Awesome, thanks. I'm getting a lot more errors, I didn't want to keep
> spamming everyone with them, I'm not sure what the deal is. it's from the 52
> version I think it was, along with the latest:
> #### Making dynamic: post_modules/Shuffler
> /home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/pike
[...]
> /home/tyler/Pike-v7.8.352/build/linux-3.4.2-linode44-i686/master.pike:42:
> Error in constant definition.

"Error in constant definition" on the first constant in the master is an
indication that you've compiled Pike with machine-code enabled on a 32-bit
x86 machine with a too recent gcc.

Rerun configure with --without-machine-code or use an older version of gcc.

--
Henrik Grubbstr�m gru...@grubba.org
Roxen Internet Software AB gru...@roxen.com

Littlefield, Tyler

unread,
Jun 30, 2012, 7:41:40 PM6/30/12
to pi...@roxen.com
On 6/30/2012 3:30 PM, Henrik Grubbstr�m wrote:
> Rerun configure with --without-machine-code or use an older version of
> gcc.
>
Awesome, thanks again, it finally built and compiled. is the
without-machine-code a huge problem? Is that going to disable jit?

> --
> Henrik Grubbstr�m gru...@grubba.org
> Roxen Internet Software AB gru...@roxen.com


Henrik Grubbström

unread,
Jul 1, 2012, 8:12:34 AM7/1/12
to Littlefield, Tyler, Pike mailinglist
On Sat, 30 Jun 2012, Littlefield, Tyler wrote:

> On 6/30/2012 3:30 PM, Henrik Grubbstr�m wrote:
>> Rerun configure with --without-machine-code or use an older version of gcc.
>>
> Awesome, thanks again, it finally built and compiled. is the
> without-machine-code a huge problem? Is that going to disable jit?

The option switches the Pike compiler backend and run-time from
generating and using native x86 machine-code to generating and
using a generic byte-code. This is likely to reduce run-time
performance by several percent.
Reply all
Reply to author
Forward
0 new messages