You are not logged in.
Pages: 1
Hello
I've been attempting to install Mangler via PKGBUILD, and makepkg and makepkg -s give me this:
[mac@cmxiv-desktop mangler]$ makepkg
==> Making package: mangler 1.2.2-1 (Wed Jan 4 20:05:32 PST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found mangler-1.2.2.tar.bz2
==> Validating source files with md5sums...
mangler-1.2.2.tar.bz2 ... Passed
==> Extracting Sources...
-> Extracting mangler-1.2.2.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking whether the C++ compiler works... no
configure: error: in `/home/mac/Downloads/mangler/src/mangler-1.2.2':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
==> ERROR: A failure occurred in build().
Aborting...I do have multilib-devel installed, if it makes a difference.
thanks in advance
[mac@cmxiv-desktop mangler]$ uname -a
Linux cmxiv-desktop 3.1.5-1-ARCH #1 SMP PREEMPT Sat Dec 10 14:43:09 CET 2011 x86_64 AMD Phenom(tm) II X6 1035T Processor AuthenticAMD GNU/LinuxOffline
Have you installed the base-devel group? If you haven't or aren't sure, type:
pacman -S base-develAt a root prompt or with sudo.
Offline
Have you installed the base-devel group? If you haven't or aren't sure, type:
pacman -S base-develAt a root prompt or with sudo.
Indirectly, yes. I have multilib-devel, which should be able to do the same.
EDIT: yep, same results. [replacing multilib with base]
Last edited by cmxiv (2012-01-05 05:17:29)
Offline
See `config.log' for more details.Do that... My guess is that you have something wrong in your CXXFLAGS.
Offline
See `config.log' for more details.Do that... My guess is that you have something wrong in your CXXFLAGS.
not sure what to look for, so I made a pastebin.
Offline
g++: error: unrecognized option '-02'You wrote "zero two" instead of "oh two".
Offline
g++: error: unrecognized option '-02'You wrote "zero two" instead of "oh two".
Well, first: I'm not the author of this pkgbuild, and have not touched it in anyway. All I have done is run 'makepkg' in the directory and it brings up this error.
Second: I'm way to newbish to even know what you just said, whether is a good thing, bad thing, or even a thing at all.. xD.
Apparently this build has worked for many other people, just not meh.
Last edited by cmxiv (2012-01-05 22:04:26)
Offline
Check your /etc/makepkg.conf.
Offline
Check your /etc/makepkg.conf.
Well, it has oh's instead of zero's. Which should it be?
#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"
#-- Exclusive: will only run on x86_64
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"Offline
So your makepkg.conf seems correct (uses "-O2") and the PKGBUILDs I saw on the AUR for Mangler do not contain any reference to either CXXFLAGS or "-02"... I'm afraid I don't know what's the problem then. You could ask on Mangler's AUR page.
Offline
Pages: 1