New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32531 (new enhancement)

Opened 17 months ago

Last modified 14 months ago

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@…
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

config.log (86.8 KB) - added by rudloff@… 17 months ago.

Change History

Changed 17 months ago by rudloff@…

comment:1 Changed 17 months ago by larry.velazquez@…

Did you tell configure to use GNUstep?

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

comment:2 Changed 17 months ago by rudloff@…

It works, thanks !

comment:3 Changed 17 months 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 17 months 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 17 months 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 17 months ago by skyskipper@…

  • Cc skyskipper@… added

Cc Me!

comment:7 Changed 17 months ago by rudloff@…

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

comment:8 Changed 17 months ago by skyskipper@…

Thank you.

comment:9 Changed 16 months 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 14 months ago by jmr@…

Made configure fail if mtree is not present in r91520.

Note: See TracTickets for help on using tickets.