LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-16-2011, 02:32 AM   #1
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 123Reputation: 123
make failure when building bigforth


I am trying to make a slackbuild for the bigforth package (source: http://www.jwdt.com/~paysan/bigforth-2.2.0.tar.bz2). However when I run make I get the following error messages:
Code:
bash-4.1# make
env LIBDIR=/usr/local/lib/bigforth SRC=/usr/local/lib/bigforth/src ./forthker -e " include startup.fb ' .blk is .status warning on savesystem bigforth cr bye"

./bigforth -e " use x.fs use glconst.fs use float.fb include startx.fb warning on savesystem xbigforth cr bye"

No protocol specified
 Can't connect  
make: *** [ok] Error 254
bash-4.1#
Can anybody tell from this what "protocol" is missing?
 
Old 03-16-2011, 06:29 AM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,363

Rep: Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720
A little bit of grep-fu will lead you to line 549 of minos-base.fs...
Code:
   545  \ XResource                                            17sep07py
   546  
   547          : open ( string -- )  [ also DOS ]
   548            6 0" " setlocale 0= abort" Cannot set locale"
   549            XOpenDisplay dup dpy ! 0= abort" Can't connect"
   550            XSupportsLocale IF
   551               s" XMODIFIERS" env$ drop ?dup IF
   552               XSetLocaleModifiers  0= IF
   553                  ." Warning: Cannot set locale modifiers to '"
   554                  s" XMODIFIERS" env$ type  ." '" cr THEN  THEN
   555            THEN [ toss ] ;
...so there's something off with your X environment in that shell (or the way Minos accesses it), since he's reporting that the call to XOpenDisplay is returning a zero. You can check the man page for the XOpenDisplay call to see what it is doing.

I've never run BigForth and I can't do so on my 64 bit system, so that's all the "help" that I can provide. Sorry.
 
1 members found this post helpful.
Old 03-16-2011, 05:37 PM   #3
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 787

Rep: Reputation: 70
I assume you get "No protocol specified, Can't connect" because as root you are not allowed to connect to the X server. I don't know if this is the 'legal' way, but I usually solve this by
Code:
$ xhost +
access control disabled, clients can connect from any host
You might want to read up on 'man xhost' first.
 
1 members found this post helpful.
Old 03-16-2011, 09:54 PM   #4
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722

Original Poster
Blog Entries: 2

Rep: Reputation: 123Reputation: 123
Quote:
Originally Posted by BroX View Post
I assume you get "No protocol specified, Can't connect" because as root you are not allowed to connect to the X server.
THAT was the problem.

When I logged in as root rather than running su the problems disappeared. (I seem to vaguely remember reading something about this in slackbuilds).

Now I can continue with the challenge of making a slackware package out of this (the Makefile does not recognize DESTDIR so still some fun to come). Thanks for the solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Failure building multiple apps due to missing library jscore JazzItSelf Slackware 5 01-29-2011 02:38 AM
make bzImage failure: make[1]: *** [init/version.o] Error 1 nmainak Linux - Kernel 2 07-16-2006 05:06 PM
Building make files red_hax0r Programming 3 06-28-2006 04:54 AM
Building gcc bootsrap compiler failure newcomer4 Linux From Scratch 10 02-24-2006 07:54 PM
Make gtk+ failure arubin Slackware 7 06-06-2004 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration