View previous topic :: View next topic |
Author |
Message |
kressevadder n00b
Joined: 22 Dec 2003 Posts: 40
|
Posted: Mon Sep 13, 2004 10:24 am Post subject: |
|
|
Hallo,
I took my first steps in obj-c on my Mac, and tryed to install the GNUStep env. on my gentoo laptop.
Emege failed and I tryed to install it "handy", but the ./configure script causes an error, gcc doe's not support obj-c. How can I enable this. I searched for USE an CFLAGS but coul'd not find anything.
How can I make gentoo to compile cgg with objc?
Thanks for your answer to this noob question _________________ Wenn sich jemand für die LPI Zertifizierung interessiert : http://www.lpiboard.de
Site is in German, but others are welcome! |
|
Back to top |
|
|
endymion n00b
Joined: 30 Jun 2004 Posts: 15 Location: Mons, Belgium
|
Posted: Mon Sep 13, 2004 10:34 am Post subject: |
|
|
kressevadder wrote: | Hallo,
I took my first steps in obj-c on my Mac, and tryed to install the GNUStep env. on my gentoo laptop.
Emege failed and I tryed to install it "handy", but the ./configure script causes an error, gcc doe's not support obj-c. How can I enable this. I searched for USE an CFLAGS but coul'd not find anything.
How can I make gentoo to compile cgg with objc?
Thanks for your answer to this noob question |
There is a USE flag : objc. |
|
Back to top |
|
|
kressevadder n00b
Joined: 22 Dec 2003 Posts: 40
|
Posted: Mon Sep 13, 2004 12:21 pm Post subject: |
|
|
Thanks,
but I still can't find it in /usr/portage/profiles/use.desc
Im trying.... _________________ Wenn sich jemand für die LPI Zertifizierung interessiert : http://www.lpiboard.de
Site is in German, but others are welcome! |
|
Back to top |
|
|
endymion n00b
Joined: 30 Jun 2004 Posts: 15 Location: Mons, Belgium
|
Posted: Mon Sep 13, 2004 12:38 pm Post subject: |
|
|
kressevadder wrote: | Thanks,
but I still can't find it in /usr/portage/profiles/use.desc
Im trying.... |
i think it's in /usr/portage/profiles/use.local.desc |
|
Back to top |
|
|
rasto n00b
Joined: 27 Nov 2002 Posts: 43 Location: NJ
|
Posted: Tue Sep 14, 2004 5:50 am Post subject: looks like a bug |
|
|
gnustep-base-1.7.2 would bail on me that i dont have gnustep-make installed.
>>> Source unpacked.
!!! ERROR: gnustep-base/gnustep-base-1.7.2 failed.
!!! Function egnustepmake, Line 49, Exitcode 1
!!! gnustep-make not installed!
or after some compiling
!!! ERROR: gnustep-base/gnustep-base-1.7.2 failed.
!!! Function egnustepinstall, Line 103, Exitcode 1
!!! gnustep-make not installed!
so one need to change lines in
Quote: |
/usr/portage/eclass/gnustep-old.eclass
|
from
Code: |
if [ -f /usr/GNUstep/System/Makefiles/GNUstep.sh ] ; then
source /usr/GNUstep/System/Makefiles/GNUstep.sh
else
die "gnustep-make not installed!"
fi
|
to something like
Code: |
if [ -f /usr/GNUstep/System/Makefiles/GNUstep.sh ] ; then
. /usr/GNUstep/System/Makefiles/GNUstep.sh
elif [ -f /usr/GNUstep/System/Library/Makefiles/GNUstep.sh ] ; then
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
else
die "gnustep-make not installed!"
fi
|
after that gnustep-base emerges without problem ...
have a nice day |
|
Back to top |
|
|
mabr n00b
Joined: 01 Sep 2003 Posts: 17
|
Posted: Wed Sep 15, 2004 9:58 pm Post subject: |
|
|
Are there any new ebuilds on it's way into portage?
I really appreciate the work by fafhrd, but it would be great to get some status updates about gnustep on gentoo. |
|
Back to top |
|
|
brady n00b
Joined: 11 Jun 2002 Posts: 23
|
Posted: Fri Sep 17, 2004 2:56 pm Post subject: |
|
|
yes, i am very anxious as well. i am more than willing to test once the packages get into portage ... |
|
Back to top |
|
|
brady n00b
Joined: 11 Jun 2002 Posts: 23
|
Posted: Wed Sep 22, 2004 4:27 am Post subject: |
|
|
ping fafhrd ... |
|
Back to top |
|
|
corey_s Apprentice
Joined: 29 Jun 2003 Posts: 264
|
Posted: Thu Sep 23, 2004 3:24 am Post subject: |
|
|
I don't mean to speak for him, and I certainly have no business doing so - but I'm guessing he's taking a well deserved and much needed respite... it's been slow going over there in GNUstep land. The issue he's trying to remedy appears to be extremely involved... I can only imagine his frustration at this point.
Read this last thread he was involved in to get a clearer understanding of what's going on:
http://lists.gnu.org/archive/html/discuss-gnustep/2004-08/msg00129.html
... it may also be that he's collaborating/working off-list for the time being -- but I'm just guessing!
Also, check this out, as per the very recent latest release of the gnustep-make package:
Changes in version `1.10.0'
===========================
* a GNUsteprc file is now automatically created and installed in
$GNUSTEP_SYSTEM_ROOT, which sets the system-wide default for the
user root directory (default=~/GNUstep, which can be overriden
with the `--with-user-root' argument to configure, or by modifying
GNUsteprc after configuration.)
... so, it looks like that at least is a step in the right direction, maybe if we're lucky this will be mostly resolved by the next gnustep-make release - but that may be a little further in the future.
Patience is a virtue! |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Fri Sep 24, 2004 1:08 am Post subject: well... |
|
|
Well, it's not pretty, but the first round of new ebuilds is finally comitted. Let the bug reports start coming in ... ... well, and let it get to the rsync mirrors too, heh...
Some docs: http://dev.gentoo.org/~fafhrd/
Basically, the new base system, and a handful of applications are ready.
gnustep-make and gnustep-base are official release versions 1.10.0
gnustep-gui and gnustep-back-xlib/art are cvs-pull-and-tars.
Really though, use bugzilla like crazy. With feedback, and time, some day soon, it's likely we'll have quite the usable GNUstep desktop (i.e. not only "GNUstep environment")
And of course, for further documentation, see http://www.gnustep.org _________________ jñanam bandha |
|
Back to top |
|
|
pechkas n00b
Joined: 24 Sep 2004 Posts: 2
|
Posted: Fri Sep 24, 2004 5:52 am Post subject: cant emerge |
|
|
i just tried emerging:
first i had to emerge gcc 3.4 with objective C
then when i emerge gnustep-env i get
Code: | ipe -c aorsmul.c -o aorsmul.o >/dev/null 2>&1
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -O3 -march=athlon-xp -pipe -c abs.c -fPIC -DPIC -o .libs/abs.o
make[2]: *** [aorsmul.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -O3 -march=athlon-xp -pipe -c abs.c -o abs.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/gmp-4.1.2/work/gmp-4.1.2/mpz'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gmp-4.1.2/work/gmp-4.1.2'
make: *** [all] Error 2
!!! ERROR: dev-libs/gmp-4.1.2 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! emake failed
|
help![/code] |
|
Back to top |
|
|
peeder n00b
Joined: 22 Jun 2004 Posts: 8
|
Posted: Fri Sep 24, 2004 10:22 am Post subject: |
|
|
I successfully emerged gnumail... sort of.
After everything finished emerging, when I try openapp GNUMail, it complains about missing a libgnustep-back bundle. I got around this by sym linking libgnustep-back.bundle -> libgnustep-art.bundle in /usr/GNUStep/System/Library/Bundles
Now openapp GNUMail works, but there is no text. Hard to explain... all the widgets and stuff are there, but no text.
** edit **
The fonts show up when I use the xlib backend. But I'd still rather use libgnustep-art.
** edit again **
I found out the problem (on my system at least) with libgnustep-art was the font packages themselves. I downloades Helvetica.nfont from http://w1.423.telia.com/~u42308495/alex/backart/ and it works great. I wonder, is anyone else having a problem with the fonts from the artresources package? _________________ I'm bored.
Last edited by peeder on Fri Sep 24, 2004 5:12 pm; edited 2 times in total |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Fri Sep 24, 2004 1:52 pm Post subject: |
|
|
pechkas -
File a bug on the GMP package -- this is not a GNUstep package, but GNUstep does depend on it. Maybe it could be the -O3 optimizations or your CFLAGS, don't know.
peeder -
There einfo output that warns you to check /usr/GNUstep/System/Tools/Gentoo for scripts that ease your setup. You should remove that symlink, and run all the scripts (mainly for -base and -back-art). ... and yes, this also sets your default font, so you will get fonts.
Check http://dev.gentoo.org/~fafhrd/ for a quick overview, but remember, it comes down to:
- run GNUstep system daemons
- source GNUstep.sh
- run gpbs
- openapp AppName
... read the docs on the "defaults" tool ... the supports scripts I wrote that live in /usr/GNUstep/System/Tool/Gentoo soley call the defaults program. It's worth it to know what it's doing. _________________ jñanam bandha |
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Sun Sep 26, 2004 1:35 am Post subject: Is the downgrade of packages required? |
|
|
The emerge is attempting to downgrade 3 packages, do I really need to downgrade them? What is the preferred way to prevent the downgrade?
Code: |
# emerge -pv gnustep-env
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] dev-libs/gmp-4.1.3 -debug 2,147 kB
[ebuild N ] gnustep-base/gnustep-make-1.10.0 -debug -doc 364 kB
[ebuild N ] dev-libs/libffi-3.4.1-r1 -debug +nls 0 kB
[ebuild N ] gnustep-base/gnustep-base-1.10.0 -debug -doc 1,835 kB
[ebuild UD] net-print/cups-1.1.20-r2 [1.1.21] -debug +pam -slp +ssl 3,653 kB
[ebuild UD] media-libs/tiff-3.5.7-r2 [3.6.1-r1] -private 928 kB
[ebuild UD] media-libs/libpng-1.2.5-r8 [1.2.7] -debug 0 kB
[ebuild N ] gnustep-base/gnustep-gui-0.9.4 +cups -debug -doc +gif -gsnd +jpeg +png 1,796 kB
[ebuild N ] gnustep-libs/artresources-0.1.2 -debug 1,439 kB
[ebuild N ] gnustep-base/mknfonts-0.5 -debug 2 kB
[ebuild N ] gnustep-base/gnustep-back-art-0.9.4 -debug -doc +opengl -xim 391 kB
[ebuild N ] gnustep-base/gnustep-env-0.1.4 -debug 0 kB
|
|
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Sun Sep 26, 2004 2:09 am Post subject: |
|
|
0n0w1c -
actually, this is a known issue, i'm working on it
you likely do not have to downgrade _________________ jñanam bandha |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Sun Sep 26, 2004 2:48 am Post subject: |
|
|
0n0w1c -
I've committed the changes; let me know if it works out for you.
Also, I'm trying to get a gnustep-user mailing list for gentoo started. Hopefully we can use that once it's up. _________________ jñanam bandha |
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Sun Sep 26, 2004 3:49 am Post subject: |
|
|
I sync'ed again just a minute ago (10:45 pm Central) but no new update, I will try again tomorrow.
The mailing list is a good idea, count me in. |
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Mon Sep 27, 2004 6:06 am Post subject: |
|
|
It is fixed, thank you. |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Tue Sep 28, 2004 9:13 pm Post subject: |
|
|
Current list of GNUstep apps, libraries, and otherwise available in ~x86.
gnustep-base/mknfonts-0.5
gnustep-base/gnustep-env-0.1.4
gnustep-base/gnustep-base-1.10.1_pre20040928
gnustep-base/gnustep-back-art-0.9.5_pre20040928
gnustep-base/gnustep-make-1.10.1_pre20040928
gnustep-base/gnustep-gui-0.9.5_pre20040928
gnustep-apps/aclock-0.2
gnustep-apps/gridlock-1.9
gnustep-apps/terminal-0.9.5_pre20040927
gnustep-apps/gorm-0.8.1_pre20040927
gnustep-apps/gmines-0.1
gnustep-apps/stepulator-1.0
gnustep-apps/gnumail-1.2.0_pre20040927
gnustep-apps/addresses-0.4.6
gnustep-apps/preferences-1.3.0_pre20040927
gnustep-apps/projectcenter-0.4.1_pre20040927
gnustep-apps/textedit-0.95_pre20040927
gnustep-apps/mylibrary-0.4.5g
gnustep-apps/stshell-0.8.3_pre20040927
gnustep-apps/affiche-0.6.0-r1
gnustep-apps/easydiff-0.3.1_pre20040927
gnustep-apps/gworkspace-0.6.6_pre20040928
gnustep-libs/camaelon-0.1
gnustep-libs/prefsmodule-1.1.1_pre20040927
gnustep-libs/pantomime-1.2.0_pre20040927
gnustep-libs/artresources-0.1.2
gnustep-libs/imagekits-0.6
gnustep-libs/renaissance-0.8.1_pre20040927
gnustep-libs/steptalk-0.8.3_pre20040927
Official release versions of the base libraries are available as well.
Users on other arches! Try out these packages -- especially ppc, where it's quite likely to work out of the box. You'll have to add the ~ppc or ppc (just for testing, you see....) flag in manually, but feedback from you will be what enables me to make these packages at least ~ppc as well. amd64 is likely to have some issues, but has had varying stages of success. Other arches, give it a go, and let me know. _________________ jñanam bandha |
|
Back to top |
|
|
brady n00b
Joined: 11 Jun 2002 Posts: 23
|
Posted: Wed Sep 29, 2004 6:21 pm Post subject: libffi |
|
|
i have compiled gcc-3.4.1 with objc support, so the gcc package provides libffi. however, when i
Code: | emerge gnustep-env -pv |
i get a dependency on libffi. what should i do? |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Wed Sep 29, 2004 6:53 pm Post subject: |
|
|
talking to you on IRC now, actually, but so it's recorded somewhere ...
libffi is "parked" in gcc. There is a seperate ebuild, dev-libs/libffi, currently, so that users who didn't have java and gcj USE flags when they built gcc can still install libffi as a support library. The library is installed in a place that does not interfere with the default install, in case libffi exists there too.
Ideally, there would be a libffi USE flag for gcc, that wouldn't monkey with the work of the people doing java/gcj for gcc on Gentoo. Works on this is "in progress", but there's really not a lot of need, or rush, on it at this point. _________________ jñanam bandha |
|
Back to top |
|
|
endymion n00b
Joined: 30 Jun 2004 Posts: 15 Location: Mons, Belgium
|
Posted: Thu Sep 30, 2004 9:41 am Post subject: |
|
|
OK i have for several weeks a new amd64 arch and i tried to emerge gnustep-env (I red your page) on a new installation but all i have is :
Code: | emerge: there are no masked or unmasked ebuilds to satisfy "virtual/gnustep-back". |
what did I miss ? |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Thu Sep 30, 2004 2:59 pm Post subject: |
|
|
endymion-
If you want to emerge gnustep-env for amd64 (YMMV!!!), then you will have to add amd64 keywords to:
- gnustep-make
- gnustep-base
- gnustep-gui
- gnutsep-back-art and/or gnustep-back-xlib
- gnustep-env
... and possibly other packages that are not key'd for amd64 yet. emerge will likely tell you in an error if any packages are still masked.
Or, you could temporarily do:
"ACCEPT_KEYWORDS="~x86" emerge gnustep-env", which should drag in all the dependencies. Obviously, this is not a technique you want to use often ... but it is okay if you're just trying to see if a package builds (running is a whole other matter).
Remember, these changes will be blown away the next time you emerge --sync, so they are safe for testing purposes. _________________ jñanam bandha |
|
Back to top |
|
|
agenem n00b
Joined: 01 Oct 2004 Posts: 3 Location: Rio de Janeiro, Brasil
|
Posted: Fri Oct 01, 2004 10:08 pm Post subject: something wrong... |
|
|
Excellent job, fafhrd!
Some coments and a question:
regarding the pechkas problem with the GMP package and gcc-3.4.2: just emerge the masked the dev-libs/gmp-4.1.3 - no problem with this one;
The question: with gcc 3.4.2, installed (and recompiled) all base packages;
(with objc USE flag )
when i am going to install the gnustep-env,
Code: |
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] gnustep-base/gnustep-base-1.10.1_pre20040928 -debug -debug +doc [empty/missing/bad digest]
[ebuild N ] gnustep-base/gnustep-gui-0.9.5_pre20040928 -camaelon +cups -debug -debug +doc +gif +gsnd +jpeg +png [empty/missing/bad digest]
[ebuild N ] gnustep-base/gnustep-back-xlib-0.9.5_pre20040928 -debug -debug +doc +opengl +xim [empty/missing/bad digest]
[ebuild N ] gnustep-base/gnustep-env-0.1.4 -debug -debug [empty/missing/bad digest]
Total size of downloads: 0 kB
|
So far, so good, but then...
Code: |
bash-2.05b# emerge -v gnustep-env
Calculating dependencies ...done!
>>> emerge (1 of 4) gnustep-base/gnustep-base-1.10.1_pre20040928 to /
>>> Unpacking source...
* Fetching CVS module gnustep/core/base into /usr/portage/distfiles/cvs-src/savannah.gnu.org-gnustep...
* Warning: The SSH host key of the remote server will not be verified.
* A temporary known hosts list will be used.
* Running cvs -q -d ":ext:anoncvs@savannah.gnu.org:/cvsroot/gnustep" update -D 20040928 gnustep/core/base
Warning: Permanently added 'savannah.gnu.org,199.232.41.3' (RSA) to the list of known hosts.
* Copying gnustep/core/base from /usr/portage/distfiles/cvs-src/savannah.gnu.org-gnustep...
* CVS module gnustep/core/base is now in /var/tmp/portage/gnustep-base-1.10.1_pre20040928/work
* Applying base-user-defaults.patch-1.10.0... [ ok ]
>>> Source unpacked.
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for whoami... /bin/whoami
checking whether nested functions work... no
checking the Objective-C runtime... GNU
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking objc/objc.h usability... yes
checking objc/objc.h presence... yes
checking for objc/objc.h... yes
configure: for gdomap network details
checking for variable length socket addresses... not found
checking whether SO_REUSEADDR is broken...
The SO_REUSEADDR socket option for controlling re-use of network
sockets immediately after shutdown appears to be broken on this
machine. Networking code will be built without using this
feature.
The effect of this lack is that when a network service is shut
down, it cannot be re-started on the same network port until
an operating-system timeout has expired.
For servers other than gdomap, GNUstep does not normally need
a particular network port, so the problem is unlikely to arise.
yes
checking for objc threading flags... -lpthread
checking whether byte ordering is bigendian... no
checking for void*... yes
checking size of void*... 4
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking loading of constructor functions... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dynamic linker type... simple
checking for dladdr in -ldl... yes
checking whether objc really works... no
I don't seem to be able to use your Objective-C compiler to produce
working binaries! Please check your Objective-C compiler installation.
If you are using gcc-3.x make sure that your compiler's libgcc_s and libobjc
can be found by the dynamic linker - usually that requires you to play
with LD_LIBRARY_PATH or /etc/ld.so.conf.
Please refer to your compiler installation instructions for more help.
configure: error: The Objective-C compiler doesn't work or is not installed properly.
!!! ERROR: gnustep-base/gnustep-base-1.10.1_pre20040928 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed
|
I'm really eager to install gnustep in gentoo - use openstep - oops - os x at my powerbook... |
|
Back to top |
|
|
endymion n00b
Joined: 30 Jun 2004 Posts: 15 Location: Mons, Belgium
|
Posted: Sat Oct 02, 2004 8:29 am Post subject: |
|
|
fafhrd
tried this after an emerge sync :
fafhrd wrote: | endymion-
Or, you could temporarily do:
"ACCEPT_KEYWORDS="~x86" emerge gnustep-env", which should drag in all the dependencies. Obviously, this is not a technique you want to use often ... but it is okay if you're just trying to see if a package builds (running is a whole other matter).
|
but no change. Still missing the virtual/gnustep-back.
...
Ok found the problem.
the virtuals file in amd64 profile not adapted. OK now. |
|
Back to top |
|
|
|