pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc on AIX 7.1
yes, I did:
PKG_DEFAULT_OPTIONS=-ssl bmake
and tnftp was built.
Now I'm getting this error with most packages:
exec(): 0509-036 Cannot load program xz because of the following errors:
0509-150 Dependent module /opt/pkg/lib/libintl.a(libintl.so.1)
could not be loaded.
0509-152 Member libintl.so.1 is not found in archive
*** Error code 255
On 02/22/2016 12:33 PM, J Raynor wrote:
> For building tnftp, you’ll have to disable ssl or apply the patch I posted a little while ago.
>
>> On Feb 22, 2016, at 12:33 PM, Rodrigo Garcia <rgarcia%inmegen.gob.mx@localhost> wrote:
>>
>> Yes, gcc is in my PATH.
>>
>> I exported USE_NATIVE_GCC=yes
>>
>> then purged the work directory for nano and had different results.
>>
>> This isn't the output of my first try, some other things seem to have
>> succeeded (digest, e.g.) in previous attempts.
>>
>> rama:/storage1/pkgsrc/editors/nano# bmake
>> => Bootstrap dependency digest>=20010302: found digest-20121220
>> => Bootstrap dependency tnftp-[0-9]*: NOT found
>> => Verifying reinstall for ../../net/tnftp
>> ===> Checking for vulnerabilities in tnftp-20151004
>> ===> Building for tnftp-20151004
>> /opt/pkg/bin//bmake all-recursive
>> Making all in libnetbsd
>> Making all in libedit
>> /opt/pkg/bin//bmake all-am
>> Making all in src
>> /opt/pkg/bin/pdksh ../libtool --tag=CC --mode=link gcc -O
>> -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/opt/pkg/lib -o tnftp
>> tnftp-cmds.o tnftp-cmdtab.o tnftp-complete.o tnftp-domacro.o
>> tnftp-fetch.o tnftp-ftp.o tnftp-main.o tnftp-progressbar.o
>> tnftp-ruserpass.o tnftp-util.o tnftp-ssl.o ../libnetbsd/libnetbsd.la
>> ../libedit/libedit.la -L/usr/lib -lssl -lcrypto -ltermcap
>> libtool: link: gcc -O -I/usr/include -Wl,-R/usr/lib -Wl,-R/opt/pkg/lib
>> -o tnftp tnftp-cmds.o tnftp-cmdtab.o tnftp-complete.o tnftp-domacro.o
>> tnftp-fetch.o tnftp-ftp.o tnftp-main.o tnftp-progressbar.o
>> tnftp-ruserpass.o tnftp-util.o tnftp-ssl.o -L/usr/lib
>> ../libnetbsd/.libs/libnetbsd.a ../libedit/.libs/libedit.a -lssl -lcrypto
>> -ltermcap
>> ld: 0706-027 The -R /opt/pkg/lib flag is ignored.
>> ld: 0711-317 ERROR: Undefined symbol: .vasprintf
>> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
>> information.
>> collect2: error: ld returned 8 exit status
>> *** Error code 1
>>
>> Stop.
>> bmake[2]: stopped in /storage1/pkgsrc/net/tnftp/work/tnftp-20151004/src
>> *** Error code 1
>>
>> Stop.
>> bmake[1]: stopped in /storage1/pkgsrc/net/tnftp/work/tnftp-20151004
>> *** Error code 1
>>
>> Stop.
>> bmake: stopped in /storage1/pkgsrc/net/tnftp/work/tnftp-20151004
>> *** Error code 1
>>
>> Stop.
>> bmake[2]: stopped in /storage1/pkgsrc/net/tnftp
>> *** Error code 1
>>
>> Stop.
>> bmake[1]: stopped in /storage1/pkgsrc/net/tnftp
>> *** Error code 1
>>
>> Stop.
>> bmake: stopped in /storage1/pkgsrc/editors/nano
>>
>>
>> On 02/22/2016 12:21 PM, J Raynor wrote:
>>> Is gcc in your PATH?
>>>
>>>> On Feb 22, 2016, at 11:06 AM, Rodrigo Garcia <rgarcia%inmegen.gob.mx@localhost> wrote:
>>>>
>>>> Okay so I fooled around with rpms and such and finally updated gcc to 4.8.3.
>>>>
>>>>
>>>> rama:/storage1/pkgsrc/bootstrap# export CC=/opt/freeware/bin/gcc
>>>> rama:/storage1/pkgsrc/bootstrap# $CC --version
>>>> gcc (GCC) 4.8.3
>>>> [...]
>>>> rama:/storage1/pkgsrc/bootstrap# export GCCBASE=/opt/freeware
>>>>
>>>>
>>>> Then I ran bootstrap again, no apparent errors.
>>>>
>>>> I set in mk.conf:
>>>> CC=gcc
>>>> CXX=g++
>>>>
>>>>
>>>> Then tried to install nano, failed:
>>>>
>>>> rama:/storage1/pkgsrc# cd editors/nano/
>>>>
>>>> rama:/storage1/pkgsrc/editors/nano# bmake
>>>> => Bootstrap dependency digest>=20010302: NOT found
>>>> => Verifying reinstall for ../../pkgtools/digest
>>>> ===> Skipping vulnerability checks.
>>>> WARNING: No /opt/pkg/var/db/pkg/pkg-vulnerabilities file found.
>>>> WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/var/db/pkg
>>>> fetch-pkg-vulnerabilities'.
>>>> ===> Installing dependencies for digest-20121220
>>>> => Build dependency gcc2>=2.95.3nb7: NOT found
>>>> => Verifying reinstall for ../../lang/gcc2
>>>> => Bootstrap dependency digest>=20010302: NOT found
>>>> => Verifying reinstall for ../../pkgtools/digest
>>>> ERROR: This package has set PKG_FAIL_REASON:
>>>> ERROR: Circular dependency detected
>>>> *** Error code 1
>>>>
>>>> Stop.
>>>> bmake[3]: stopped in /storage1/pkgsrc/pkgtools/digest
>>>> *** Error code 1
>>>>
>>>> Stop.
>>>> bmake[2]: stopped in /storage1/pkgsrc/lang/gcc2
>>>> *** Error code 1
>>>>
>>>> Stop.
>>>> bmake[1]: stopped in /storage1/pkgsrc/pkgtools/digest
>>>> *** Error code 1
>>>>
>>>> Stop.
>>>> bmake: stopped in /storage1/pkgsrc/editors/nano
>>>>
>>>>
>>>>
>>>>
>>>> On 02/20/2016 07:22 AM, Jason Bacon wrote:
>>>>> As a heads-up, even if you get it to recognize your GCC 4.2 base, you
>>>>> will probably still run into the need to
>>>>> install a GCC package. E.g. boost requires GCC 4.5 or later.
>>>>>
>>>>> I'd look for a newer GCC to use as a base compiler.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jason
>>>>>
>>>>> On 02/19/16 17:41, Rodrigo Garcia wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> We have a nice Power7 machine, 200G RAM, 56 cores, large storage. But it
>>>>>> has AIX 7.1 installed.
>>>>>>
>>>>>> I absentmindedly installed a couple of rpms from here:
>>>>>>
>>>>>> http://www.perzl.org/aix/index.php?n=Main.HomePage
>>>>>>
>>>>>> Anyway I got gcc 4.2 running and then downloaded pkgsrc and now I seem
>>>>>> to have bootstraped it. I used /opt/pkg for prefix.
>>>>>>
>>>>>> I then go to any pkgsrc directory, say pkgsrc/nano and try bmake. It
>>>>>> fails!
>>>>>>
>>>>>> Output of bmake command bellow. Thanks!
>>>>>>
>>>>>> Rodrigo
>>>>>>
>>>>>>
>>>>>>
>>>>>> rama:/storage2/pkgsrc/editors/nano# echo $CC
>>>>>> /opt/freeware/bin/gcc
>>>>>>
>>>>>> rama:/storage2/pkgsrc/editors/nano# $CC --version
>>>>>> gcc (GCC) 4.2.0
>>>>>>
>>>>>> rama:/storage2/pkgsrc/editors/nano# echo $PATH
>>>>>> /opt/pkg/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> rama:/storage2/pkgsrc/editors/nano# bmake
>>>>>> => Bootstrap dependency digest>=20010302: NOT found
>>>>>> => Verifying reinstall for ../../pkgtools/digest
>>>>>> ===> Skipping vulnerability checks.
>>>>>> WARNING: No /var/opt/pkg/pkg-vulnerabilities file found.
>>>>>> WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /var/opt/pkg
>>>>>> fetch-pkg-vulnerabilities'.
>>>>>> ===> Installing dependencies for digest-20121220
>>>>>> => Build dependency gcc2>=2.95.3nb7: NOT found
>>>>>> => Verifying reinstall for ../../lang/gcc2
>>>>>> => Bootstrap dependency digest>=20010302: NOT found
>>>>>> => Verifying reinstall for ../../pkgtools/digest
>>>>>> ERROR: This package has set PKG_FAIL_REASON:
>>>>>> ERROR: Circular dependency detected
>>>>>> *** Error code 1
>>>>>>
>>>>>> Stop.
>>>>>> bmake[3]: stopped in /storage2/pkgsrc/pkgtools/digest
>>>>>> *** Error code 1
>>>>>>
>>>>>> Stop.
>>>>>> bmake[2]: stopped in /storage2/pkgsrc/lang/gcc2
>>>>>> *** Error code 1
>>>>>>
>>>>>> Stop.
>>>>>> bmake[1]: stopped in /storage2/pkgsrc/pkgtools/digest
>>>>>> *** Error code 1
>>>>>>
>>>>>> Stop.
>>>>>> bmake: stopped in /storage2/pkgsrc/editors/nano
>>>>>>
Home |
Main Index |
Thread Index |
Old Index