You are not logged in.

#26 2009-12-26 17:47:43

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Arch-OS X

sorry redmine is being a butt right now >.<


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#27 2009-12-27 06:17:44

janwil
Member
From: Tartu, Estonia
Registered: 2003-08-15
Posts: 88

Re: Arch-OS X

Stythys wrote:

sorry redmine is being a butt right now >.<

And do we have any estimates concerning when this situation would improve?

I'd be willing to help the project (say, by maintaining packages), but it presumes that there IS a project.

Best regards,
Jan

Offline

#28 2009-12-27 07:52:36

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Arch-OS X

kay, website fixed

>.<


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#29 2009-12-28 10:41:58

janwil
Member
From: Tartu, Estonia
Registered: 2003-08-15
Posts: 88

Re: Arch-OS X

OK, the website is accessible now, thanx.

The project, however, seems kinda stalled. I'd like to help. What's the best I could do?

Jan

Offline

#30 2010-06-10 20:18:47

lovebug356
Member
Registered: 2009-08-05
Posts: 6

Re: Arch-OS X

Is this project still alive?

I`m trying this:
http://archlinux-gaming.org/projects/ar … etup_Guide

but the download package is not available anymore...

Offline

#31 2010-06-10 20:21:49

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: Arch-OS X

as far as my knowledge, pretty much all of the developers, well.. stopped developing, so yes, it's pretty much in a dead state at the moment. Just a few days, ago, though.. snoblo came to me wanting to restart it. If you check the redmine I got rid of all the other devs and just put him there, so if you're interested in helping out, I would contact him. I can give you some contact info if you send me a message.


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#32 2010-10-21 04:37:27

snoblo
Member
Registered: 2008-05-01
Posts: 47

Re: Arch-OS X

Hello everyone, this is snoblo.
I think I should give a short introduction: I'm just an average user who wanted to add some packages that were not available on Arch-OS X. When the project stopped development, however, I expressed interest in continuing to maintain some packages. After talking with Stythys, he suggested for me to help continue the project.

So with my somewhat limited knowledge about package maintenance and other skills, I've been (on-and-off) working on arch-os x for the past few of months in my free time. If anyone is still interested, I set up a simple site to host Arch-OS X. (Thanks Stythys for the hosting!).
http://arch-osx.saikonet.org
I'm mainly working on the project for myself, so most of the packages I've built were things I wanted to use. Feel free to make your own pkgbuilds, it's really easy! Due to my busy schedule, I may or may not add stuff frequently, but I'll be around if you ever need to contact me

Last edited by snoblo (2010-10-21 04:58:11)


pacman is hungry today
My webcomic series about lonely programmers smile

Offline

#33 2010-10-21 06:14:47

Pajaro
Member
Registered: 2004-04-21
Posts: 883

Re: Arch-OS X

Cool! Thak you snoblo

Offline

#34 2010-10-21 06:23:30

Pajaro
Member
Registered: 2004-04-21
Posts: 883

Re: Arch-OS X

pacman complains about "/opt/arch/share/info/dir" existing in readline, bash and wget, so it does not install them right away.

Offline

#35 2010-10-21 11:48:53

snoblo
Member
Registered: 2008-05-01
Posts: 47

Re: Arch-OS X

No problem!
Oh yah, I've had that problem too sometimes. I'll fix it in the pkgbuilds later with a hack to remove /opt/arch/share/info/dir (is there a better way?). you can just use -f to force install with no problems for now


pacman is hungry today
My webcomic series about lonely programmers smile

Offline

#36 2010-10-21 17:36:39

Pajaro
Member
Registered: 2004-04-21
Posts: 883

Re: Arch-OS X

Thank you, it worked.

Now I have another problem, because I already had newer versions of some packages (I wonder why some packages are older now), and the system does not find some libraries.

I am going to make a fresh install (remove /opt/arch and reinstall the package).

Again, thank you for giving new life to this project.

On the other hand, if there was a way of building mac packages from linux i might have a server do some compilations. Is there a mecanism in the project to achieve this?

Offline

#37 2010-10-21 19:15:58

snoblo
Member
Registered: 2008-05-01
Posts: 47

Re: Arch-OS X

You're welcome smile it's not too difficult what I'm doing...I'm just an average user who wanted to keep using this wonderful project started by other people

When I'll have time I'll write a guide on the website on how to make your own packages but here's a quick explanation:

1) Go find the package in either the Arch package database (http://www.archlinux.org/packages/) or the AUR (http://aur.archlinux.org/) and find the PKGBUILD and other files (if there are any other ones)

2) Download them. In the PKGBUILD, change arch= to arch=('macx86') and any instance of "/usr/" to "/opt/arch", "/var" to "/opt/arch/var", "/etc" to "/opt/arch/etc", and so on, so that very little (if at all) will be installed to / as everything goes into /opt/arch. then, in the Terminal, run 'makepkg' in that directory and very likely everything will work. There are sometimes exceptions. You can look at the repo on patch-tag to see what the PKGBUILDS look like, or check the Arch wiki (http://wiki.archlinux.org/index.php/PKGBUILD)

3) For many packages, that will do it. However, there are some that might have trouble compiling. A good way is looking at the different compilation options or looking up online the error. And of course, make sure you have all the dependencies.

Hope this helps smile

And by the way, I've made some packages for ghc, darcs, and some other stuff that I'll put up whenever I get to it

Last edited by snoblo (2010-10-21 19:18:57)


pacman is hungry today
My webcomic series about lonely programmers smile

Offline

#38 2010-10-22 13:44:44

ssentinull
Member
Registered: 2010-03-09
Posts: 9

Re: Arch-OS X

I am also interested in this project. I was wondering what the current state is, is pacman completed for Mac, and now just PKGBUILDs have to be changed over? Also, just curious, but why is google code no longer used for the project?

Offline

#39 2010-10-24 11:50:52

snoblo
Member
Registered: 2008-05-01
Posts: 47

Re: Arch-OS X

check the site (http://arch-osx.saikonet.org) and the repo to see what packages are available.

Google code used to be where the project was hosted for a while, but it later moved to redmine on twilightlair.net hosted by Stythys. I didn't even know about the google code page until much later since it wasn't being used anymore. When I was first trying to make a new repo, Stythys recommended me to use darcs + patch-tag so I went with that. Darcs is nice smile
But why the original developers stopped using google code, I have no idea.

Last edited by snoblo (2010-10-24 11:51:40)


pacman is hungry today
My webcomic series about lonely programmers smile

Offline

#40 2010-11-06 10:25:52

sdellysse
Member
Registered: 2009-12-15
Posts: 33

Re: Arch-OS X

got dwm ported to arch-osx. it is on my bitbucket account: http://bitbucket.org/sdellysse/aur-osx

most of the issues i had were converting from gnu utils to bsd utils. makes me wonder if archosx should be first in $PATH rather than last. that way we wouldnt have to rely on apple not changing their utilities.

also, hardcoding a path to /opt/arch in all the PKGBUILDs irks me. has there been any thought into maybe exporting a variable ARCH_ROOT=/opt/arch and using that variable in PKGBUILDs?

Offline

#41 2010-11-06 11:12:39

snoblo
Member
Registered: 2008-05-01
Posts: 47

Re: Arch-OS X

Wow, thanks for the contribution!
I actually have /opt/arch/bin as first in my path (in my ~/.profile) smile

Isn't it like Arch's PKGBUILDS harcoding the /usr/ paths? That's not a bad idea though. Hm...
I was never responsible for the design of Arch-OS X though...I'm just an average user who wanted to continue an almost dead project smile

And I just built dwm with your PKGBUILD and added it to the server!  Would you like me to add the PKGBUILD (and files) to the patch-tag repo? Or would you like to be a project member on the repo if you plan on making more packages in the future? And by the way, I took out the extra ' ' in the sed lines (I assume it's the difference between Apple's and Arch's sed?)

Last edited by snoblo (2010-11-06 11:21:27)


pacman is hungry today
My webcomic series about lonely programmers smile

Offline

#42 2010-11-06 22:44:27

sdellysse
Member
Registered: 2009-12-15
Posts: 33

Re: Arch-OS X

Wow, thanks for the contribution!
I actually have /opt/arch/bin as first in my path (in my ~/.profile) smile

Ah, that's why I was having problems. The installer places a file in /private/etc/paths.d, which doesn't guarantee that it'll be first in PATH. I have added the following lines to my ~/.bashrc:

export PATH=/opt/arch/bin:/opt/arch/usr/bin:$PATH
export MANPATH=/opt/arch/usr/share/man:$MANPATH

(the `usr` is explained below)

Isn't it like Arch's PKGBUILDS harcoding the /usr/ paths? That's not a bad idea though. Hm...

I'm thinking of $ARCH_ROOT as like a $PREFIX. If you look at it like that, then it puts ArchLinux's /usr in a diferent category. That brings me to another question, what happened to /opt/arch/usr? I'm assuming there was a reason for not bringing it over, but not sure what it is, aside from a try at making things more simple. For now, I've

ln -s /opt/arch /opt/arch/usr

so that the paths seem cleaner.

I was never responsible for the design of Arch-OS X though...I'm just an average user who wanted to continue an almost dead project smile

And I give you a heartfelt thanks. This seems like it could be an awesome project if given the right kind of push. Blending the Mac's hardware, kernel, and power management features (not to mention Steam) with ArchLinux-sans-kernel26 is pretty damn cool.

You wouldn't happen to still be in contact with any of the original archosx devs would you? Some of the questions I have are about design choices and the original creators might be able to tell me why they did things (such as /opt/arch/usr) a certain way.

And I just built dwm with your PKGBUILD and added it to the server!

Sweet. Too bad dwm is about the most useless binary package there is, but it's nice to see something I worked on 'in the wild'.

Would you like me to add the PKGBUILD (and files) to the patch-tag repo? Or would you like to be a project member on the repo if you plan on making more packages in the future?

I do plan on making more, and at the moment I'm working on rxvt-unicode, but for now I'll just push them to my bitbucket and post the updates here. I have a bit of an attention span problem, so I'll wait until I'm sure I wont loose interest in this before committing. Thanks for the offer though.

And by the way, I took out the extra ' ' in the sed lines (I assume it's the difference between Apple's and Arch's sed?

Yup, and also bsd 'install' doesn't support -D apparently.

Offline

#43 2010-11-06 22:48:58

sdellysse
Member
Registered: 2009-12-15
Posts: 33

Re: Arch-OS X

Also, I'm just going to leave this here:

After initial install of ArchOSX-*.pkg, I had to place the following in ~/.bashrc:

export PATH=/opt/arch/bin:/opt/arch/usr/bin:$PATH
export MANPATH=/opt/arch/usr/share/man:$MANPATH

I then ran the following commands to make sure that archosx's utilities were primary and installed:

sudo rm /private/etc/paths.d/arch-osx
sudo ln -s /opt/arch /opt/arch/usr
sudo pacman -Syyu
sudo pacman -Sf base

Then restarted all of my shells.

Last edited by sdellysse (2010-11-06 22:50:03)

Offline

#44 2010-11-06 23:19:40

snoblo
Member
Registered: 2008-05-01
Posts: 47

Re: Arch-OS X

I never really thought about that, but that does make sense to have /opt/arch as a prefix. I guess I'm so used to accepting everything I'm thrown at smile

I've only been in contact with Stythys who used to (and still does) host the files, and I've contacted tom5760 once.

Some other pages of interest:
barryk's github: https://github.com/tyches/arch-osx
tyche's github: https://github.com/tyches/arch-osx
One of the older threads was here: https://bbs.archlinux.org/viewtopic.php?id=53960
The old google code page is here: http://code.google.com/p/arch-osx/


pacman is hungry today
My webcomic series about lonely programmers smile

Offline

#45 2010-11-06 23:26:48

sdellysse
Member
Registered: 2009-12-15
Posts: 33

Re: Arch-OS X

updated dwm/PKGBUILD to use gnu sed
added xorg-util-macros
added libxpm
added rxvt-unicode
added nodejs

Last edited by sdellysse (2010-11-11 03:11:53)

Offline

#46 2010-11-07 05:29:51

sdellysse
Member
Registered: 2009-12-15
Posts: 33

Re: Arch-OS X

I'm trying to compile glib2.26.0 because the one in the repo is only 2.24. I'm gettin the following error:

macbook:glib2 sdellysse$ makepkg
==> Making package: glib2 2.26.0-1 (Sun Nov  7 01:14:04 EDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found glib-2.26.0.tar.bz2
  -> Found glib2.sh
  -> Found glib2.csh
==> Validating source files with sha256sums...
    glib-2.26.0.tar.bz2 ... Passed
    glib2.sh ... Passed
    glib2.csh ... Passed
==> Extracting Sources...
  -> Extracting glib-2.26.0.tar.bz2 with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
checking for a BSD-compatible install... /opt/arch/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/arch/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 gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking build system type... i386-apple-darwin9.8.0
checking host system type... i386-apple-darwin9.8.0
checking for the BeOS... no
checking for Win32... no
checking for Mac OS X Carbon support... yes
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pkg-config... /opt/arch/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for gawk... (cached) gawk
checking for perl5... no
checking for perl... perl
checking for indent... indent
checking for perl... /opt/arch/bin/perl
checking for a Python interpreter with version >= 2.4... python
checking for python... /opt/arch/bin/python
checking for python version... 2.6
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for iconv_open... no
checking for libiconv_open in -liconv... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether we are using the GNU C Library 2.1 or newer... no
checking Whether to cache iconv descriptors... yes
checking for ZLIB... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /opt/arch/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /opt/arch/bin/msgfmt
checking for xgettext... /opt/arch/bin/xgettext
checking for catalogs to be installed...  af am ar as ast az be be@latin bg bn bn_IN bs ca ca@valencia cs cy da de dz el en_CA en_GB en@shaw eo es et eu fa fi fr ga gl gu he hi hr hu hy id is it ja ka kk kn ko ku lt lv mai mg mk ml mn mr ms nb nds ne nl nn oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te th tl tr tt uk vi wa xh yi zh_CN zh_HK zh_TW
checking for a sed that does not truncate output... /opt/arch/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking how to run the C++ preprocessor... c++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by c++... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking whether the c++ linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fno-common -DPIC
checking if c++ PIC flag -fno-common -DPIC works... yes
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.8.0 dyld
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for ANSI C header files... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for mmap... yes
checking for posix_memalign... no
checking for memalign... no
checking for valloc... yes
checking for fsync... yes
checking for pipe2... no
checking for atexit... yes
checking for on_exit... no
checking for timegm... yes
checking for gmtime_r... yes
checking size of char... 1
checking size of short... 2
checking size of long... 4
checking size of int... 4
checking size of void *... 4
checking size of long long... 8
checking size of __int64... 0
checking for format to printf and scanf a guint64... %llu
checking for an ANSI C-conforming const... yes
checking if malloc() and friends prototypes are gmem.h compatible... yes
checking for growing stack pointer... no
checking for __inline... yes
checking for __inline__... yes
checking for inline... yes
checking if inline functions in headers work... yes
checking for working do while(0) macros... no
checking for ISO C99 varargs macros in C... yes
checking for ISO C99 varargs macros in C++... yes
checking for GNUC varargs macros... yes
checking for GNUC visibility attribute... no
checking whether using Sun Studio C compiler... no
checking whether byte ordering is bigendian... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking unistd.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/types.h usability... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
checking stdint.h usability... yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking inttypes.h usability... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/vmount.h usability... no
checking sys/vmount.h presence... no
checking for sys/vmount.h... no
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/vfstab.h usability... no
checking sys/vfstab.h presence... no
checking for sys/vfstab.h... no
checking sys/mntctl.h usability... no
checking sys/mntctl.h presence... no
checking for sys/mntctl.h... no
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking fstab.h usability... yes
checking fstab.h presence... yes
checking for fstab.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for struct stat.st_mtimensec... no
checking for struct stat.st_mtim.tv_nsec... no
checking for struct stat.st_atimensec... no
checking for struct stat.st_atim.tv_nsec... no
checking for struct stat.st_ctimensec... no
checking for struct stat.st_ctim.tv_nsec... no
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct statfs.f_fstypename... yes
checking for struct statfs.f_bavail... yes
checking for struct statvfs.f_basetype... no
checking for struct tm.tm_gmtoff... no
checking for nl_langinfo and CODESET... yes
checking whether we are using the GNU C Library 2.1 or newer... (cached) no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking for setlocale... yes
checking size of size_t... 4
checking for the appropriate definition for size_t... unsigned long
checking for lstat... yes
checking for strerror... yes
checking for strsignal... yes
checking for memmove... yes
checking for vsnprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for poll... yes
checking for getcwd... yes
checking for vasprintf... yes
checking for setenv... yes
checking for unsetenv... yes
checking for getc_unlocked... yes
checking for readlink... yes
checking for symlink... yes
checking for fdwalk... no
checking for memmem... no
checking for chown... yes
checking for lchmod... yes
checking for lchown... yes
checking for fchmod... yes
checking for fchown... yes
checking for link... yes
checking for statvfs... yes
checking for statfs... yes
checking for utimes... yes
checking for getgrgid... yes
checking for getpwuid... yes
checking for getmntent_r... no
checking for setmntent... no
checking for endmntent... no
checking for hasmntopt... no
checking for getmntinfo... yes
checking for nanosleep... yes
checking for nsleep... no
checking for splice... no
checking crt_externs.h usability... yes
checking crt_externs.h presence... yes
checking for crt_externs.h... yes
checking for _NSGetEnviron... yes
checking for C99 vsnprintf... yes
checking whether printf supports positional parameters... yes
checking value of AF_INET... 2
checking value of AF_INET6... 30
checking value of AF_UNIX... 1
checking value of MSG_PEEK... 2
checking value of MSG_OOB... 1
checking value of MSG_DONTROUTE... 4
checking for getprotobyname_r... no
checking for endservent... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking wspiapi.h usability... no
checking wspiapi.h presence... no
checking for wspiapi.h... no
checking for strndup... no
checking for setresuid... no
checking for setreuid... yes
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking arpa/nameser_compat.h usability... yes
checking arpa/nameser_compat.h presence... yes
checking for arpa/nameser_compat.h... yes
checking for res_query... in -lresolv
checking number of arguments to statfs()... 2
checking for signed... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for snprintf... yes
checking for wcslen... yes
checking for C99 snprintf... yes
checking for sys_errlist... yes
checking for sys_siglist... yes
checking for sys_siglist declaration... yes
checking for fd_set... yes, found in sys/types.h
checking whether realloc (NULL,) will work... yes
checking for nl_langinfo (CODESET)... yes
checking for a compliant posix_memalign() implementation... no
checking for OpenBSD strlcpy/strlcat... yes
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking for dlopen... yes
checking for dlsym... yes
ld: unknown option: -export-dynamic
collect2: ld returned 1 exit status
checking for RTLD_GLOBAL brokenness... no
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking for the suffix of module shared libraries... .so
checking for gspawn implementation... gspawn.lo
checking for GIOChannel implementation... giounix.lo
checking for is_selinux_enabled in -lselinux... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
Not building FAM support
checking for getxattr in -lc... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking for XATTR_NOFOLLOW... yes
checking for platform-dependent source... 
checking whether to compile timeloop... yes
checking if building for some Win32 platform... no
checking for thread implementation... posix
checking thread related cflags... -D_REENTRANT
checking for pthread_create/pthread_join... yes
checking for sched_get_priority_min... yes
checking thread related libraries...  
checking for localtime_r... yes
checking for gmtime_r... (cached) yes
checking for posix getpwuid_r... yes
checking for posix getgrgid_r... yes
checking size of pthread_t... 4
checking for pthread_attr_setstacksize... yes
checking for minimal/maximal thread priority... sched_get_priority_min(SCHED_OTHER)/sched_get_priority_max(SCHED_OTHER)
checking for pthread_setschedparam... yes
checking for posix yield function... sched_yield
checking size of pthread_mutex_t... 44
checking byte contents of PTHREAD_MUTEX_INITIALIZER... -89,-85,-86,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
checking for clock_gettime... no
checking for clock_gettime in -lrt... no
checking for monotonic clocks... no
checking whether to use assembler code for atomic operations... checking whether GCC supports build-in atomic intrinsics... no
none
checking for futex(2) system call... no
checking value of POLLIN... 1
checking value of POLLOUT... 4
checking value of POLLPRI... 2
checking value of POLLERR... 8
checking value of POLLHUP... 16
checking value of POLLNVAL... 32
checking for broken poll... yes
checking for PCRE... yes
checking for Unicode support in PCRE... yes
checking for EILSEQ... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking whether to include dtrace tracing support... no (not yet compatible with MacOS dtrace)
checking whether to include systemtap tracing support... no
checking for DBUS1... no
checking for -Bsymbolic-functions linker flag... no
configure: creating ./config.status
config.status: creating glib-2.0.pc
config.status: creating glib-2.0-uninstalled.pc
config.status: creating gmodule-2.0.pc
config.status: creating gmodule-export-2.0.pc
config.status: creating gmodule-no-export-2.0.pc
config.status: creating gmodule-2.0-uninstalled.pc
config.status: creating gmodule-no-export-2.0-uninstalled.pc
config.status: creating gthread-2.0.pc
config.status: creating gthread-2.0-uninstalled.pc
config.status: creating gobject-2.0.pc
config.status: creating gobject-2.0-uninstalled.pc
config.status: creating gio-2.0.pc
config.status: creating gio-unix-2.0.pc
config.status: creating gio-windows-2.0.pc
config.status: creating gio-2.0-uninstalled.pc
config.status: creating gio-unix-2.0-uninstalled.pc
config.status: creating glib-zip
config.status: creating glib-gettextize
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/dirent/Makefile
config.status: creating build/win32/vs9/Makefile
config.status: creating glib/Makefile
config.status: creating glib/glib.stp
config.status: creating glib/libcharset/Makefile
config.status: creating glib/gnulib/Makefile
config.status: creating glib/pcre/Makefile
config.status: creating glib/update-pcre/Makefile
config.status: creating glib/tests/Makefile
config.status: creating gmodule/Makefile
config.status: creating gmodule/gmoduleconf.h
config.status: creating gobject/Makefile
config.status: creating gobject/gobject.stp
config.status: creating gobject/glib-mkenums
config.status: creating gobject/tests/Makefile
config.status: creating gthread/Makefile
config.status: creating gthread/tests/Makefile
config.status: creating gio/Makefile
config.status: creating gio/xdgmime/Makefile
config.status: creating gio/inotify/Makefile
config.status: creating gio/libasyncns/Makefile
config.status: creating gio/fen/Makefile
config.status: creating gio/fam/Makefile
config.status: creating gio/win32/Makefile
config.status: creating gio/tests/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/glib/Makefile
config.status: creating docs/reference/glib/version.xml
config.status: creating docs/reference/gobject/Makefile
config.status: creating docs/reference/gobject/version.xml
config.status: creating docs/reference/gio/Makefile
config.status: creating docs/reference/gio/version.xml
config.status: creating tests/Makefile
config.status: creating tests/gobject/Makefile
config.status: creating tests/refcount/Makefile
config.status: creating m4macros/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: executing glib/glibconfig.h commands
config.status: executing chmod-scripts commands
make  all-recursive
Making all in .
make[2]: Nothing to be done for `all-am'.
Making all in m4macros
make[2]: Nothing to be done for `all'.
Making all in glib
cd .. && \
      /bin/sh ./config.status glib/glibconfig.h
config.status: executing glib/glibconfig.h commands
config.status: glib/glibconfig.h is unchanged
make  all-recursive
Making all in libcharset
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DLIBDIR=\"/opt/arch/lib\" -I../..  -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT  -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c -o localcharset.lo localcharset.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DLIBDIR=\"/opt/arch/lib\" -I../.. -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c localcharset.c  -fno-common -DPIC -o .libs/localcharset.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DLIBDIR=\"/opt/arch/lib\" -I../.. -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c localcharset.c -o localcharset.o >/dev/null 2>&1
mv -f .deps/localcharset.Tpo .deps/localcharset.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall  -arch i386 -L/opt/arch/lib -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -framework Carbon -o libcharset.la  localcharset.lo  -lintl  
libtool: link: ar cru .libs/libcharset.a .libs/localcharset.o 
libtool: link: ranlib .libs/libcharset.a
libtool: link: ( cd ".libs" && rm -f "libcharset.la" && ln -s "../libcharset.la" "libcharset.la" )
sed -e '/^#/d' -e 's/@''PACKAGE''@/glib/g' ref-add.sin > t-ref-add.sed
mv t-ref-add.sed ref-add.sed
sed -e '/^#/d' -e 's/@''PACKAGE''@/glib/g' ref-del.sin > t-ref-del.sed
mv t-ref-del.sed ref-del.sed
/bin/sh ./config.charset 'i386-apple-darwin9.8.0' > t-charset.alias
mv t-charset.alias charset.alias
Making all in update-pcre
make[4]: Nothing to be done for `all'.
Making all in .
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../glib -I../glib -I.. -I/opt/arch/include   -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT  -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c -o garray.lo garray.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -I/opt/arch/include -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c  -fno-common -DPIC -o .libs/garray.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -I/opt/arch/include -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c -o garray.o >/dev/null 2>&1
mv -f .deps/garray.Tpo .deps/garray.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../glib -I../glib -I.. -I/opt/arch/include   -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT  -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c -o gasyncqueue.lo gasyncqueue.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -I/opt/arch/include -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c  -fno-common -DPIC -o .libs/gasyncqueue.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -I/opt/arch/include -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c -o gasyncqueue.o >/dev/null 2>&1
mv -f .deps/gasyncqueue.Tpo .deps/gasyncqueue.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../glib -I../glib -I.. -I/opt/arch/include   -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT  -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c -o gatomic.lo gatomic.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -I/opt/arch/include -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/arch/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch i386 -mtune=generic -msse -msse2 -O2 -pipe -I/opt/arch/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c  -fno-common -DPIC -o .libs/gatomic.o
gatomic.c:885: error: syntax error before ‘*’ token
gatomic.c:885: warning: type defaults to ‘int’ in declaration of ‘g_atomic_mutex’
gatomic.c:885: warning: data definition has no type or storage class
gatomic.c: In function ‘g_atomic_int_exchange_and_add’:
gatomic.c:906: warning: implicit declaration of function ‘g_mutex_lock’
gatomic.c:909: warning: implicit declaration of function ‘g_mutex_unlock’
gatomic.c: In function ‘_g_atomic_thread_init’:
gatomic.c:1155: warning: implicit declaration of function ‘g_mutex_new’
gatomic.c:1155: warning: assignment makes pointer from integer without a cast
make[4]: *** [gatomic.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
    Aborting...

PKGBUILD:

# Arch-OS X Maintainer: Sean Yeh <snoblo at archlinux dot us>
# $Id: PKGBUILD 79346 2010-05-03 10:44:26Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=glib2
pkgver=2.26.0
pkgrel=1
pkgdesc="Common C routines used by GTK+ 2.4 and other libs"
url="http://www.gtk.org/"
arch=('macx86')
license=('LGPL')
depends=('pcre>=8.02')
makedepends=('pkgconfig')
options=('!libtool' '!docs')
source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${pkgver}.tar.bz2
        glib2.sh
        glib2.csh)
sha256sums=('014c3da960bf17117371075c16495f05f36501db990851ceea658f15d2ea6d04'
            '9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
            '8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3')

build() {
  cd "${srcdir}/glib-${pkgver}"
  ./configure --prefix=/opt/arch --enable-static --enable-shared \
      --with-pcre=system --disable-fam || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1

  install -d "${pkgdir}/opt/arch/etc/profile.d"
  install -m755 "${srcdir}/glib2.sh" "${pkgdir}/opt/arch/etc/profile.d/" || return 1
  install -m755 "${srcdir}/glib2.csh" "${pkgdir}/opt/arch/etc/profile.d/" || return 1

  chmod 755 ${pkgdir}/opt/arch/bin/gtester-report || return 1

  rm $pkgdir/opt/arch/lib/charset.alias

}
sha256sums=('4c18e3aadb5b20acc7c0f7d3a77da8a2843b85a9fd73fd3aa360a7aea953e3b2'
            '9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
            '8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3')

anyone got any ideas? 10.5.8

Offline

Board footer

Powered by FluxBB