2012-11-21 4 views
0

저는 Slicehost (현재 RackSpace)가있는 우분투 서버를 가지고 있으며 Objective-c 코드를 컴파일 할 수 있도록 GNUstep을 설치하려고합니다.우분투에서 Foundation 헤더 파일을 찾을 수 없습니다.

apt-get을 통해 세계를 설치하고 수많은 블로그를 통해 내 소스를 컴파일하고 나면 이제는 Foundation.h 헤더 파일이 설치되어 있지 않은 것으로 나에게 명확 해 보입니다. 이걸 얻기 위해서.

그들은 내 Mac에 있습니다. 아마 우분투로 복사했을 수도 있습니다. 그리고 그것은 모두 육즙이 있습니다. 희망찬 생각입니까?

Foundation.h 파일을 찾고 설치하는 방법에 대한 도움을 주시면 감사하겠습니다. 앤디의 질문 2 질문에

~: 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 

답변

2

어떤 버전의 Ubuntu 서버를 실행하고 있습니까?

저는 우분투 서버 10.04 LTS를 실행 중이며 아래에 Foundation.h을 찾았습니다. 패키지는 libgnustep-base-dev에 속합니다. 다른 버전에서 다를 수 있습니다 ...

아마 우리의 목록을 비교하려면 dpkg -l | grep -i gnustep의 출력을 게시 할 수 있습니다.

[email protected] ~ # cat /etc/lsb-release 
DISTRIB_ID=Ubuntu 
DISTRIB_RELEASE=10.04 
DISTRIB_CODENAME=lucid 
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS" 
[email protected] ~ # locate Foundation.h 
/usr/include/GNUstep/Foundation/Foundation.h 
[email protected] ~ # ls -l /usr/include/GNUstep/Foundation/Foundation.h 
-rw-r--r-- 1 root root 4991 2009-08-31 23:45 /usr/include/GNUstep/Foundation/Foundation.h 
[email protected] ~ # dpkg -S /usr/include/GNUstep/Foundation/Foundation.h 
libgnustep-base-dev: /usr/include/GNUstep/Foundation/Foundation.h 
[email protected] ~ # dpkg -l | grep -i gnustep 
ii gnustep-back-common    0.16.0-3      The GNUstep GUI Backend - common files 
ii gnustep-back-doc    0.16.0-3      The GNUstep GUI Backend documentation 
ii gnustep-back0.16    0.16.0-3      The GNUstep GUI Backend 
ii gnustep-back0.16-art   0.16.0-3      The GNUstep GUI Backend 
ii gnustep-base-common    1.19.3-1ubuntu1    GNUstep Base library - common files 
ii gnustep-base-doc    1.19.3-1ubuntu1    Documentation for the GNUstep Base Library 
ii gnustep-base-runtime   1.19.3-1ubuntu1    GNUstep Base library 
ii gnustep-common     2.2.0-1      Common files for the core GNUstep environmen 
ii gnustep-core-devel    7.4       The GNUstep Development Environment -- core 
ii gnustep-core-doc    7.4       The GNUstep Development Environment -- core 
ii gnustep-devel     7.4       The GNUstep Development Environment -- devel 
ii gnustep-gpbs     0.16.0-3      The GNUstep PasteBoard Server 
ii gnustep-gui-common    0.16.0-2build1    GNUstep GUI Library - common files 
ii gnustep-gui-doc     0.16.0-2build1    Documentation for the GNUstep GUI Library 
ii gnustep-gui-runtime    0.16.0-2build1    GNUstep GUI Library - runtime files 
ii gnustep-make     2.2.0-1      Basic GNUstep Makefiles 
ii gnustep-make-doc    2.2.0-1      Documentation for GNUstep-make 
ii gorm.app      1.2.8-1ubuntu0.1    Visual Interface Builder for GNUstep 
ii libgnustep-base-dev    1.19.3-1ubuntu1    GNUstep Base header files and development li 
ii libgnustep-base1.19    1.19.3-1ubuntu1    GNUstep Base library 
ii libgnustep-gui-dev    0.16.0-2build1    GNUstep GUI header files and static librarie 
ii libgnustep-gui0.16    0.16.0-2build1    GNUstep GUI Library 
ii librenaissance0     0.9.0-2build2    GNUstep GUI Framework - library files 
ii librenaissance0-dev    0.9.0-2build2    GNUstep GUI Framework - development file 
ii projectcenter.app    0.5.0~20080704-1build1  IDE for GNUstep Development 
[email protected] ~ # 
+0

8.04, 하디 - 당신이 제안한 것을 시도 할 것입니다. 위에 게시 된 질문에 대한 답변은 – JamesC

+0

입니다. – JamesC

+0

http://packages.ubuntu.com/en/hardy/libgnustep-base-dev에 따르면'libgnustep-base-dev' 패키지는 hardy에 존재하는 것으로 보입니다. 그것을 설치할 수 있습니까? –

관련 문제