Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
scotty ebuild
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
jeffremiller
n00b
n00b


Joined: 16 May 2003
Posts: 9

PostPosted: Thu Mar 10, 2005 2:26 pm    Post subject: scotty ebuild Reply with quote

I'm in the process of installing Gentoo for OSX in order to try this but thought I'd ask if anyone had already invented this wheel.

I want to run scotty/tkined on OSX. I've tried build from source and darwinports has eliminated their package so I checked portage. There seems to be an ebuild for app-admin/scotty but does anyone know if it will emerge on OSX?

J_
Back to top
View user's profile Send private message
reddan
n00b
n00b


Joined: 18 Mar 2004
Posts: 26
Location: Mumbai

PostPosted: Thu Mar 10, 2005 3:38 pm    Post subject: Reply with quote

I haven't tried to install it, but you may run into problems installing the required dependencies - specifically dev-lang/tk, which requires the same version of tcl. The problem being that OSX already comes with tcl-8.4 installed, and portage won't install over the top of preinstalled software.

If you are eager you could try to turn of collision protection and unmask the required ebuilds and see how you go.

In other words, it may require just as much effort on your part than to figure out how to compile from source by hand - but if you do get it installed through portage, then that may help other people install it in the future!

Good Luck...
Back to top
View user's profile Send private message
jeffremiller
n00b
n00b


Joined: 16 May 2003
Posts: 9

PostPosted: Thu Mar 10, 2005 3:57 pm    Post subject: Reply with quote

OK... I've disabled collision protection and have install tcl and working on TK... I'll let you know.

Thanks

J_
Back to top
View user's profile Send private message
jeffremiller
n00b
n00b


Joined: 16 May 2003
Posts: 9

PostPosted: Thu Mar 10, 2005 4:33 pm    Post subject: Reply with quote

getting closer... I installed TCL and TK with little problem but this is the output of emerge scotty:

>>> emerge (2 of 2) app-admin/scotty-2.1.11 to /
>>> Downloading http://gentoo.osuosl.org/distfiles/scotty-2.1.11.tar.gz
######################################################################## 100.0%
>>> md5 src_uri ;-) scotty-2.1.11.tar.gz
>>> Unpacking source...
>>> Unpacking scotty-2.1.11.tar.gz to /var/tmp/portage/scotty-2.1.11/work
* Applying scotty-2.1.11-suse.patch ... [ ok ]
* Applying scotty-2.1.11-Makefile.patch ... [ ok ]
>>> Source unpacked.
./configure --prefix=/usr --host=powerpc-apple-darwin --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking how to run the C preprocessor... cc -E
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for a BSD-compatible install... /usr/bin/install -c
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for long... no
checking size of long... 0
checking whether byte ordering is bigendian... yes
checking for rpcgen... rpcgen
checking for tclsh... /usr/bin/tclsh
checking for tclConfig.sh in /usr/lib... yes
checking for tcl version... "8.4"
checking for wish... /usr/bin/wish
checking for tkConfig.sh in /usr/lib... yes
checking for tk version... "8.4"
checking for connect... yes
checking for gethostbyname... yes
checking for main in -lnsl... no
checking for connect in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for main in -lieee... no
checking for main in -lrpc... no
checking for main in -lrpcsvc... yes
checking for __res_mkquery... no
checking for __res_mkquery in -lresolv... no
checking for stdlib.h... (cached) no
checking for unistd.h... (cached) no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking sys/select.h usability... no
checking sys/select.h presence... yes
configure: WARNING: sys/select.h: present but cannot be compiled
configure: WARNING: sys/select.h: check for missing prerequisite headers?
configure: WARNING: sys/select.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for sys/select.h... yes
checking for gethostent... yes
checking for getnetent... yes
checking for getprotoent... yes
checking for getservent... yes
checking for getrpcent... yes
checking for struct rpcent... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
cc -c -O2 -pipe -fno-common -I. -I./../tnm/generic -I/usr/include -DTNMLIB=\"/usr/lib/tnm2.1.11\" ./../tnm/generic/tnmInit.c
../tnm/generic/tnmInit.c: In function `InitVars':
../tnm/generic/tnmInit.c:58: warning: assignment makes pointer from integer without a cast
../tnm/generic/tnmInit.c:68: warning: assignment makes pointer from integer without a cast
../tnm/generic/tnmInit.c:70: warning: assignment makes pointer from integer without a cast
../tnm/generic/tnmInit.c:72: warning: assignment makes pointer from integer without a cast
../tnm/generic/tnmInit.c:85: warning: assignment makes pointer from integer without a cast
../tnm/generic/tnmInit.c:87: warning: assignment makes pointer from integer without a cast
../tnm/generic/tnmInit.c:90: error: `W_OK' undeclared (first use in this function)
../tnm/generic/tnmInit.c:90: error: (Each undeclared identifier is reported only once
../tnm/generic/tnmInit.c:90: error: for each function it appears in.)
../tnm/generic/tnmInit.c:107: warning: assignment discards qualifiers from pointer target type
../tnm/generic/tnmInit.c:108: warning: assignment discards qualifiers from pointer target type
../tnm/generic/tnmInit.c:109: warning: assignment discards qualifiers from pointer target type
../tnm/generic/tnmInit.c: In function `InitRc':
../tnm/generic/tnmInit.c:199: warning: assignment discards qualifiers from pointer target type
../tnm/generic/tnmInit.c:201: warning: passing arg 3 of `Tcl_SplitPath' from incompatible pointer type
../tnm/generic/tnmInit.c:218: warning: passing arg 2 of `Tcl_JoinPath' from incompatible pointer type
../tnm/generic/tnmInit.c:219: error: `R_OK' undeclared (first use in this function)
../tnm/generic/tnmInit.c:223: warning: passing arg 2 of `Tcl_JoinPath' from incompatible pointer type
../tnm/generic/tnmInit.c:231: warning: passing arg 2 of `Tcl_JoinPath' from incompatible pointer type
../tnm/generic/tnmInit.c:263: warning: assignment makes pointer from integer without a cast
../tnm/generic/tnmInit.c: In function `InitSafeCmds':
../tnm/generic/tnmInit.c:319: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c:322: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c: In function `InitUnsafeCmds':
../tnm/generic/tnmInit.c:347: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c:349: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c:351: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c:353: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c:355: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c:357: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c:363: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c:365: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
../tnm/generic/tnmInit.c:367: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type
make: *** [tnmInit.o] Error 1

!!! ERROR: app-admin/scotty-2.1.11 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Thoughts?
Back to top
View user's profile Send private message
reddan
n00b
n00b


Joined: 18 Mar 2004
Posts: 26
Location: Mumbai

PostPosted: Fri Mar 11, 2005 3:21 am    Post subject: Reply with quote

hmmm... it looks like a problem with the autoconf/configure/make setup. the last release of scotty was about 3 years ago, and I only found two relevant hits on google for 'scotty osx' - and these were just questions asking if it could be done.

I had a quick peek at the autobuild scripts, and the prbly need a major working over to get it happening on OSX. How well do you know autoconf?
Back to top
View user's profile Send private message
Bad Penguin
Guru
Guru


Joined: 18 Aug 2004
Posts: 507

PostPosted: Sun Apr 10, 2005 4:12 am    Post subject: Reply with quote

reddan wrote:
hmmm... it looks like a problem with the autoconf/configure/make setup. the last release of scotty was about 3 years ago, and I only found two relevant hits on google for 'scotty osx' - and these were just questions asking if it could be done.

I had a quick peek at the autobuild scripts, and the prbly need a major working over to get it happening on OSX. How well do you know autoconf?


I am running x86 2005.0 and scotty gives me a sandbox violation. Overriding the sandbox error installs it, but fails to install ntping and straps. I manually copied those and scotty gives me glibc errors, probably something to do with nptl.

My point is that scotty does not even work on the most recent x86 arch, good luck getting it to work on darwin :)
Back to top
View user's profile Send private message
Bad Penguin
Guru
Guru


Joined: 18 Aug 2004
Posts: 507

PostPosted: Sun Apr 10, 2005 6:38 am    Post subject: Reply with quote

Bad Penguin wrote:
I am running x86 2005.0 and scotty gives me a sandbox violation. Overriding the sandbox error installs it, but fails to install ntping and straps. I manually copied those and scotty gives me glibc errors, probably something to do with nptl.

My point is that scotty does not even work on the most recent x86 arch, good luck getting it to work on darwin :)


I submitted a new ebuild and patch to get scotty to install correctly in x86, if anyone reads this and is interested.

The bug report:
http://bugs.gentoo.org/show_bug.cgi?id=77501

The attachments:
http://bugs.gentoo.org/attachment.cgi?id=55833
http://bugs.gentoo.org/attachment.cgi?id=55834
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum