Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Setting Up GNU Step

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
Evilguru
Guru
Guru
Posts: 390
Joined: Tue Aug 16, 2005 9:37 am
Location: England

Setting Up GNU Step

  • Quote

Post by Evilguru » Tue Jul 04, 2006 10:18 am

I am interesting in having a poke at objective C on my Gentoo PC (after liking it on my Mac) and so I did the following:
Added:

Code: Select all

gnustep-base/gnustep-back
gnustep-base/gnustep-base
gnustep-base/gnustep-env
gnustep-base/gnustep-gui
gnustep-base/gnustep-make
To /etc/portage/package.keywords

Emerged: gnustep-base/gnustep-base (which also emerged gnustep-base/gnustep-make) and gnustep-base/gnustep-gui

I am now not sure what I need to do to configure it so that the header files/libraries can be found etc.

Thanks for all of your help.
Top
der_erpl
n00b
n00b
Posts: 26
Joined: Mon May 15, 2006 7:39 pm
Location: Hanover / Germany

  • Quote

Post by der_erpl » Tue Jul 04, 2006 3:51 pm

Please have a look into this thread http://forums.gentoo.org/viewtopic-p-33 ... ml#3350238. That tells quite good what to when you want to install GNUstep on Gentoo. There is a Howto under http://gentoo-wiki.com/HOWTO_GNUstep. You may get additional info there. But try the forum entry first.

Have fun!

Regards,
der erpl
Top
Evilguru
Guru
Guru
Posts: 390
Joined: Tue Aug 16, 2005 9:37 am
Location: England

  • Quote

Post by Evilguru » Tue Jul 04, 2006 9:24 pm

Yes - the problem I have is with emerge gnustep-base/gnustep-env is:

Code: Select all

genware Programming # emerge -pv gnustep-env

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD] gnustep-base/gnustep-make-1.10.0-r2 [1.12.0-r1] USE="doc -debug -layout-from-conf-file -layout-osx-like -non-flattened -profile -verbose" 364 kB
[ebuild  NS   ] sys-devel/gcc-3.3.5.20050130-r1  USE="doc gcj nls objc -bootstrap -boundschecking -build -fortran -gtk -hardened -ip28 -ip32r10k -multislot -nocxx -nopie -nossp -vanilla" 23,639 kB
[ebuild  N    ] dev-libs/libffi-3.3.5  USE="nls -nptl" 0 kB
[ebuild     UD] gnustep-base/gnustep-base-1.10.3-r1 [1.12.0] USE="doc -debug -ffcall% -gcc-libffi -profile -verbose" 1,880 kB
[ebuild  N    ] gnustep-base/mknfonts-0.5  USE="doc -debug -profile -verbose" 2 kB
[ebuild  N    ] gnustep-libs/artresources-0.1.2  USE="doc -debug -profile -verbose" 1,439 kB
[ebuild     UD] media-libs/freetype-2.1.9-r1 [2.1.10-r2] USE="doc zlib -bindist" 0 kB
[ebuild     UD] gnustep-base/gnustep-gui-0.9.5 [0.10.3] USE="cups doc gif jpeg png -debug -gsnd -profile -verbose" 1,832 kB
[ebuild  N    ] gnustep-base/gnustep-back-art-0.9.5  USE="doc opengl -debug -profile -verbose -xim" 800 kB
As you can see, it wants to down-grade my other gnustep packages (~x86) and install an old version of GCC. Is there anyway to stop this madness?
Top
coriolan
Apprentice
Apprentice
User avatar
Posts: 273
Joined: Thu Apr 21, 2005 5:20 am

  • Quote

Post by coriolan » Wed Jul 05, 2006 5:40 am

Have you run revdep-rebuild? That should resolve downgrading issues.
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Thu Jul 06, 2006 4:40 am

Isn't the syntax for /etc/portage/packages.keywords:

Code: Select all

<packagename>  <special keyword>
so it should be

Code: Select all

gnustep-base/gnustep-back ~x86
gnustep-base/gnustep-base ~x86
gnustep-base/gnustep-env ~x86
gnustep-base/gnustep-gui ~x86
gnustep-base/gnustep-make  ~x86
This might be why emerge wants to downgrade everything.
Personal overlay | Simple backup scheme
Top
Evilguru
Guru
Guru
Posts: 390
Joined: Tue Aug 16, 2005 9:37 am
Location: England

  • Quote

Post by Evilguru » Sat Jul 15, 2006 12:11 pm

After adding dev-libs/lbffi to /etc/portage/package.keywords I now get:

Code: Select all

fluorine libffi # emerge -pv gnustep-env

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD] gnustep-base/gnustep-make-1.10.0-r2 [1.12.0-r1] USE="doc -debug -layout-from-conf-file -layout-osx-like -non-flattened -profile -verbose" 364 kB
[ebuild  N    ] dev-libs/libffi-3.4.1-r1  USE="nls -nptl" 26,545 kB
[ebuild     UD] gnustep-base/gnustep-base-1.10.3-r1 [1.12.0] USE="doc -debug -ffcall% -gcc-libffi -profile -verbose" 1,880 kB
[ebuild  N    ] gnustep-base/mknfonts-0.5  USE="doc -debug -profile -verbose" 2 kB
[ebuild  N    ] gnustep-libs/artresources-0.1.2  USE="doc -debug -profile -verbose" 1,439 kB
[ebuild     UD] media-libs/freetype-2.1.9-r1 [2.1.10-r2] USE="doc zlib -bindist" 0 kB
[ebuild     UD] gnustep-base/gnustep-gui-0.9.5 [0.10.3] USE="cups doc gif jpeg png -debug -gsnd -profile -verbose" 1,832 kB
[ebuild  N    ] gnustep-base/gnustep-back-art-0.9.5  USE="doc opengl -debug -profile -verbose -xim" 800 kB
[ebuild  N    ] gnustep-base/gnustep-env-0.1.7  USE="doc -debug -profile -verbose" 0 kB
It still wants to downgrade some packages (such as freetype). How can I stop it from wanting to do this?
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Sat Jul 15, 2006 9:27 pm

Does your packages.keywords match what I posted above?
Personal overlay | Simple backup scheme
Top
Evilguru
Guru
Guru
Posts: 390
Joined: Tue Aug 16, 2005 9:37 am
Location: England

  • Quote

Post by Evilguru » Sat Jul 15, 2006 10:45 pm

Yep, all apart from the ~x86 bit, which is deprecated and no longer needed.
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Sat Jul 15, 2006 11:02 pm

Sorry, I was not aware of the change in the syntax -- you are right.

Hmm, when I duplicate your /etc/portage/packages.keywords, I get the correct behavior. You might try checking that you get the correct behavior for non-GNUstep packages, if you have not done so already.
Personal overlay | Simple backup scheme
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Thu Jul 20, 2006 4:13 am

If the problem really is with GNUstep, it might be that you're using libffi instead of ffcall. ffcall is recommended, and pulls in the latest versions of everything.
Personal overlay | Simple backup scheme
Top
Evilguru
Guru
Guru
Posts: 390
Joined: Tue Aug 16, 2005 9:37 am
Location: England

  • Quote

Post by Evilguru » Sat Jul 22, 2006 1:52 pm

What is the easiest way to do that (change USE flags &c)?
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Sat Jul 22, 2006 9:15 pm

Evilguru wrote:What is the easiest way to do that (change USE flags &c)?
In your USE flags, set "ffcall" and "objc", and unset "libffi"

Then follow my directions here:

http://forums.gentoo.org/viewtopic-p-33 ... ml#3350238

(You've probably already done step 0)
Personal overlay | Simple backup scheme
Top
Evilguru
Guru
Guru
Posts: 390
Joined: Tue Aug 16, 2005 9:37 am
Location: England

  • Quote

Post by Evilguru » Mon Jul 24, 2006 11:26 am

I have done this but get:

Code: Select all

fluorine Debug # emerge -pv gnustep-env

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD] gnustep-base/gnustep-make-1.10.0-r2 [1.12.0-r1] USE="doc -debug -layout-from-conf-file -layout-osx-like -non-flattened -profile -verbose" 364 kB
[ebuild     UD] gnustep-base/gnustep-base-1.10.3-r1 [1.12.0] USE="doc ffcall% -debug -gcc-libffi -profile -verbose" 1,880 kB
[ebuild  N    ] gnustep-base/mknfonts-0.5  USE="doc -debug -profile -verbose" 2 kB
[ebuild  N    ] gnustep-libs/artresources-0.1.2  USE="doc -debug -profile -verbose" 1,439 kB
[ebuild     UD] media-libs/freetype-2.1.9-r1 [2.1.10-r2] USE="doc zlib -bindist" 0 kB
[ebuild     UD] gnustep-base/gnustep-gui-0.9.5 [0.10.3] USE="cups doc gif jpeg png -debug -gsnd -profile -verbose" 1,832 kB
[ebuild  N    ] gnustep-base/gnustep-back-art-0.9.5  USE="doc opengl -debug -profile -verbose -xim" 800 kB
[ebuild  N    ] gnustep-base/gnustep-env-0.1.7  USE="doc -debug -profile -verbose" 0 kB

Total size of downloads: 6,320 kB
fluorine Debug #        
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Mon Jul 24, 2006 7:37 pm

Have you confirmed that your packages.keywords works for non-gnustep packages?

Reproducing all your steps on my machine, everything works as expected.
Personal overlay | Simple backup scheme
Top
Evilguru
Guru
Guru
Posts: 390
Joined: Tue Aug 16, 2005 9:37 am
Location: England

  • Quote

Post by Evilguru » Wed Jul 26, 2006 9:07 am

Today I unmerge all of the gnustep packages that I had and then did emerge -pv gnustep-env:

Code: Select all

Calculating dependencies... done!
[ebuild  N    ] gnustep-base/gnustep-make-1.12.0-r1  USE="doc -debug -layout-from-conf-file -layout-osx-like -non-flattened -profile -verbose" 0 kB
[ebuild  N    ] gnustep-base/gnustep-base-1.12.0  USE="doc -debug -gcc-libffi -libffi -profile -verbose" 0 kB
[ebuild  N    ] gnustep-base/gnustep-make-1.10.0-r2  USE="doc -debug -layout-from-conf-file -layout-osx-like -non-flattened -profile -verbose" 364 kB
[ebuild  N    ] gnustep-base/gnustep-base-1.10.3-r1  USE="doc ffcall -debug -gcc-libffi -profile -verbose" 1,880 kB
[ebuild  N    ] gnustep-base/gnustep-gui-0.10.3  USE="cups doc gif jpeg png -debug -gsnd -profile -verbose" 0 kB
[ebuild  N    ] gnustep-base/mknfonts-0.5  USE="doc -debug -profile -verbose" 2 kB
[ebuild  N    ] gnustep-libs/artresources-0.1.2  USE="doc -debug -profile -verbose" 1,439 kB
[ebuild     UD] media-libs/freetype-2.1.9-r1 [2.1.10-r2] USE="doc zlib -bindist" 0 kB
[ebuild  N    ] gnustep-base/gnustep-gui-0.9.5  USE="cups doc gif jpeg png -debug -gsnd -profile -verbose" 1,832 kB
[ebuild  N    ] gnustep-base/gnustep-back-art-0.9.5  USE="doc opengl -debug -profile -verbose -xim" 800 kB
[ebuild  N    ] gnustep-base/gnustep-env-0.1.7  USE="doc -debug -profile -verbose" 0 kB

Total size of downloads: 6,320 kB
As you can see now it wants to emerge one set, only to seemingly get rid of it! Could the: -gcc-libffi USE flag have anything to do with this?

Thanks for all of your help.
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Wed Jul 26, 2006 3:32 pm

* You haven't answered my question as to whether or not your /etc/portage/packages.keywords works for non-GNUstep ebuilds

* To try to explain this latest behavior, add "--tree" to your emerge commandline options

My guess is that something is b0rked with your system.
Personal overlay | Simple backup scheme
Top
coriolan
Apprentice
Apprentice
User avatar
Posts: 273
Joined: Thu Apr 21, 2005 5:20 am

  • Quote

Post by coriolan » Wed Aug 16, 2006 1:08 pm

Seems that the Gnustep project is shutting down.
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Wed Aug 16, 2006 6:00 pm

coriolan wrote:Seems that the Gnustep project is shutting down.
lol

Apparently the crack didn't touch the webpages themselves, but an exploit in their server.
Personal overlay | Simple backup scheme
Top
coriolan
Apprentice
Apprentice
User avatar
Posts: 273
Joined: Thu Apr 21, 2005 5:20 am

  • Quote

Post by coriolan » Thu Aug 17, 2006 5:33 am

Oh! :oops: Well, glad to see that they did not give up. :D

For others: the Gnustep website was hacked and there was a notice much like the one OpenDarwin that they are shutting down.
Top
Post Reply

19 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic