Opened 13 years ago

Closed 11 years ago

Last modified 11 years ago

#32531 closed enhancement (fixed)

Can't build on Ubuntu

Reported by: rudloff@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: base Version: 2.0.3
Keywords: ubuntu Cc: skyskipper@…, cooljeanius (Eric Gallager)
Port:

Description

===> making all in src/macports1.0
make[2]: Entering directory `/home/pierre/Bureau/MacPorts-2.0.3/src/macports1.0'
gcc -shared -g -O2 -W -Wall -pedantic   macports.o get_systemconfiguration_proxies.o sysctl.o -o MacPorts.so -L/usr/lib -ltclstub8.5   -framework CoreFoundation -framework SystemConfiguration
gcc: error: CoreFoundation: No such file or directory
gcc: error: SystemConfiguration: No such file or directory

I do have the gnustep-core-devel package installed.

I don't really expect anyone to work on that, it is just so that you guys know.

Attachments (1)

config.log (86.8 KB) - added by rudloff@… 13 years ago.

Download all attachments as: .zip

Change History (16)

Changed 13 years ago by rudloff@…

Attachment: config.log added

comment:1 Changed 13 years ago by larryv (Lawrence Velázquez)

Did you tell configure to use GNUstep?

./configure --with-objc-runtime=GNU --with-objc-foundation=GNU

comment:2 Changed 13 years ago by rudloff@…

It works, thanks !

comment:3 Changed 13 years ago by rudloff@…

Now the install phase is not working :

===> making install in doc
make[1]: Entering directory `/home/pierre/Bureau/MacPorts-2.0.3/doc'
/usr/bin/install -c -d -o root -g root -m 0755 /opt/local
/usr/bin/install -c -d -o root -g root -m 0755 /opt/local/etc/macports
< prefix.mtree  -U -e -p /opt/local > /dev/null
/bin/bash: -U: command not found
make[1]: *** [install] Error 127
make[1]: Leaving directory `/home/pierre/Bureau/MacPorts-2.0.3/doc'
make: *** [install] Error 1

comment:4 Changed 13 years ago by rudloff@…

Oh, I just had to add /usr/lib/freebsd to my path (see here, sorry. MacPorts is now installed and seems to work fine.

comment:5 Changed 13 years ago by skyskipper@…

Hey, i also have the same problem at make install.

===> making install in doc
make[1]: Entering directory `/home/cc/MacPorts-2.0.3/doc'
/usr/bin/install -c -d -o root -g root -m 0755 /opt/local
/usr/bin/install -c -d -o root -g root -m 0755 /opt/local/etc/macports
< prefix.mtree  -U -e -p /opt/local > /dev/null
/bin/bash: -U: command not found
make[1]: *** [install] Error 127
make[1]: Leaving directory `/home/cc/MacPorts-2.0.3/doc'
make: *** [install] Error 1

i tried to install freebsd-buildutils to get mtree where another error message popup

checking for Apple Foundation library... no
checking for GNUstep Foundation library... no
configure: error: Could not find a working Foundation implementation

and after i remove the freebsd-buildutils package

checking for GNUstep Foundation library... yes
configure: Using GNUstep Foundation library

this is my PATH

/usr/lib/freebsd:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

comment:6 Changed 13 years ago by skyskipper@…

Cc: skyskipper@… added

Cc Me!

comment:7 Changed 13 years ago by rudloff@…

I will try to provide an Ubuntu package for you to use.

comment:8 Changed 13 years ago by skyskipper@…

Thank you.

comment:9 Changed 13 years ago by rudloff@…

Here is a package that you can try. It won't magically make the ports work on Linux though.

comment:10 Changed 13 years ago by jmroot (Joshua Root)

Made configure fail if mtree is not present in r91520.

comment:11 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

I can confirm MacPorts base currently builds fine on Ubuntu and Debian (after installing lots of packages). I think this issue is fixed.

comment:12 in reply to:  11 ; Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to cal@…:

I can confirm MacPorts base currently builds fine on Ubuntu and Debian (after installing lots of packages).

What is the current list of packages that need to be installed? I am writing a .travis.yml file for my fork of MacPorts on GitHub and would like to know what to sudo apt-get install in my "install:" phase... So far I am using the old .dsc file in browser:trunk/base/portmgr/ubuntu as reference, but not all of the package names line up exactly with the ones that are currently available according to launchpad.net (or at least the search on it)...

comment:13 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:14 in reply to:  12 ; Changed 11 years ago by rudloff@…

Replying to egall@…:

What is the current list of packages that need to be installed?

You can find the list of dependencies here.

comment:15 in reply to:  14 Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to rudloff@…:

Replying to egall@…:

What is the current list of packages that need to be installed?

You can find the list of dependencies here.

Thanks!

Edit: here is the resulting .travis.yml file I was mentioning in my previous post: https://github.com/cooljeanius/MacPorts-fork/blob/master/.travis.yml

Last edited 11 years ago by cooljeanius (Eric Gallager) (previous) (diff)
Note: See TracTickets for help on using tickets.