0
我有一个带有Slicehost(现在为RackSpace)的Ubuntu服务器,并且正在尝试安装GNUstep,以便可以编译Objective-c代码。无法在Ubuntu上找到基础头文件
通过apt-get安装世界并通过数字博客尝试获取我的源代码编译后,现在看起来很清楚,我没有安装Foundation.h头文件,我不知道在哪里从中得到这些。
它们出现在我的Mac上,也许我可以简单地将它们复制到Ubuntu,它会全部是肉汁 - 一厢情愿的想法?
任何有关如何查找和安装Foundation.h文件的帮助表示赞赏。
针对安迪的问题
~: dpkg -l | grep -i gnustep
ii gnustep-back-common 0.12.0-1 The GNUstep GUI Backend - common files
ii gnustep-back0.12 0.12.0-1 The GNUstep GUI Backend
ii gnustep-back0.12-art 0.12.0-1 The GNUstep GUI Backend
ii gnustep-base-common 1.14.1-2ubuntu1 GNUstep Base library - common files
ii gnustep-base-runtime 1.14.1-2ubuntu1 GNUstep Base library
ii gnustep-common 2.0.2-1 Common files for the core GNUstep environmen
ii gnustep-core 6 The GNUstep Development Environment -- core
ii gnustep-devel 6 The GNUstep Development Environment -- devel
ii gnustep-gpbs 0.12.0-1 The GNUstep PasteBoard Server
ii gnustep-gui-common 0.12.0-3ubuntu1 GNUstep GUI Library - common files
ii gnustep-gui-runtime 0.12.0-3ubuntu1 GNUstep GUI Library - runtime files
ii gnustep-make 2.0.2-1 Basic GNUstep Makefiles
ii gorm.app 1.2.2-1 Visual Interface Builder for GNUstep
ii libgnustep-base1.14 1.14.1-2ubuntu1 GNUstep Base library
ii libgnustep-gui0.12 0.12.0-3ubuntu1 GNUstep GUI Library
ii projectcenter.app 0.4.3-3ubuntu1 IDE for GNUstep Development
ii projectmanager.app 0.2-3 Simple IDE for GNUstep
答到第二个问题。
~: sudo apt-get install libgnustep-base-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
libgnustep-base-dev: Depends: libxslt1-dev but it is not going to be installed
E: Broken packages
8.04,耐寒 - 会尝试你的建议。 – JamesC
回答上面发布的问题。 – JamesC
根据http://packages.ubuntu.com/en/hardy/libgnustep-base-dev软件包'libgnustep-base-dev'好像存在于hardy中。你可以安装它吗? –