pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgsrc on Solaris 10 (was: man-page suffixes on Solaris 10)



Hi Jörn,

Nice to see some people still working on Solaris 10.
I’ve been experimenting with pkgsrc on Solaris10 for a few weeks now, and 
slowly getting things to compile.

I’ve managed to compile many projects, but some basic stuff still resist in 
pkgtools:
-pkgin & pbulk don’t build because of textproc/mdocml (first a lack of asprint, 
now a problem with BTREEINFO in apropos_db.c)
-I didn’t manage to have the bootstrap.tar.gz created (maybe due to errors in 
pkg_in’s build ?), So I had to manually create my own limited version of it .
-pkg_add, pkg_info, pkg_delete all work as expected, so it is functional.

I’m using gcc as compiler with abi=32 (also would like to go 64 bits, but build 
quickly fails).

How did you do to pass the textproc/mdocml hurdle?
Do you use Solaris Studio to compile?

Cheers,

Michel 




basic stuff resists in pkgtools
On 7 juil. 2014, at 15:06, Jörn Clausen <joernc%googlemail.com@localhost> wrote:

> I have manually synced some more files, and now bootstrap generated
> cat files with the right suffixes. One workaround gone :) Thanks
> again!
> 
> On Mon, Jul 7, 2014 at 1:50 PM, Jonathan Perkin 
> <jperkin%joyent.com@localhost> wrote:
>> * On 2014-07-07 at 12:44 BST, Jörn Clausen wrote:
>> 
>>> Indeed, that file fell out of sync. I have no idea why, though. As far
>>> as I can tell, I haven't even edited it locally (unlike e.g.
>>> mk/tools/tools.SunOS.mk). After updating SunOS.mk, installation of
>>> man-pages works again. Thanks!!!!
>> 
>> Great!
>> 
>>> Have you also fixed the suffixes of the files installed during
>>> bootstrap? I still get pkg_info.0 et al. For ages I have been doing
>>> this
>>> 
>>> find . -name '*.0' | sed 's/.\/cat\(.\)\/\(.*\)\.0$/\2.0
>>> cat\1\/\2\.\1/' | xargs -L1 ln -s
>>> 
>>> right after bootstrap inside the man directory as a quick'n'dirty 
>>> workaround.
>> 
>> Yes, those should be correctly suffixed too, for example:
>> 
>>  $ tar ztf bootstrap-upstream-trunk32.tar.gz | grep cat..*[0-9] | sort
>>  ./opt/local/man/cat1/bmake.1
>>  ./opt/local/man/cat1/bsdinstall.1
>>  ./opt/local/man/cat1/pkg_add.1
>>  ./opt/local/man/cat1/pkg_admin.1
>>  ./opt/local/man/cat1/pkg_create.1
>>  ./opt/local/man/cat1/pkg_delete.1
>>  ./opt/local/man/cat1/pkg_info.1
>>  ./opt/local/man/cat5/pkg_install.conf.5
>>  ./opt/local/man/cat5/pkg_summary.5
>>  ./opt/local/man/cat7/pkgsrc.7
>>  ./opt/local/man/cat8/audit-packages.8
>>  ./opt/local/man/cat8/download-vulnerability-list.8
>> 
>> Cheers,
>> 
>> --
>> Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com
> 
> 
> 
> -- 
> Joern Clausen
> http://www.oe-files.de/photography/



Home | Main Index | Thread Index | Old Index