[oi-dev] Addition of GeoIP to oi-build

Alasdair Lumsden alasdairrr at gmail.com
Sun Jul 15 13:08:23 UTC 2012


So,

64bit builds seem to be a bit broken with the default behaviour. It's 
fixed by my 2682 changeset:

https://bitbucket.org/alasdairlumsden/illumos-userland-2682/compare/..illumos/illumos-userland

I'll put a workaround in the GeoIP build for now which can be backed out 
once 2682 goes in.

Cheers,

Alasdair

On 23/12/2011 16:44, Игорь Пашев wrote:
> BTW:
> in make-rules/shared-macros.mk <http://shared-macros.mk>:
> CC.gcc.32 =$(GCC_ROOT)/bin/gcc -m32
> CXX.gcc.32 =$(GCC_ROOT)/bin/g++ -m32
> CC.gcc.64 =$(GCC_ROOT)/bin/gcc -m64
> CXX.gcc.64 =$(GCC_ROOT)/bin/g++ -m64
> CC =$(CC.$(COMPILER).$(BITS))
>
>
> 2011/12/23 Jeppe Toustrup <openindiana at tenzer.dk
> <mailto:openindiana at tenzer.dk>>
>
>     On Thu, Dec 22, 2011 at 16:24, Игорь Пашев <pashev.igor at gmail.com
>     <mailto:pashev.igor at gmail.com>> wrote:
>      > include ../../make-rules/shared-macros.mk <http://shared-macros.mk>
>      >
>      > COMPONENT_NAME         = GeoIP
>      > COMPONENT_VERSION      = 1.4.7
>      > COMPONENT_SRC          = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
>      > COMPONENT_PROJECT_URL  = http://www.maxmind.com
>      > COMPONENT_ARCHIVE      = $(COMPONENT_SRC).tar.gz
>      > COMPONENT_ARCHIVE_HASH =
>     sha1:2db3a61e19dfaa0e4131217b155a59ba4bd0c5cc
>      > COMPONENT_ARCHIVE_URL  =
>      > http://geolite.maxmind.com/download/geoip/api/c/$(COMPONENT_ARCHIVE)
>      >
>      > include $(WS_TOP)/make-rules/prep.mk <http://prep.mk>
>      > include $(WS_TOP)/make-rules/configure.mk <http://configure.mk>
>      > include $(WS_TOP)/make-rules/ips.mk <http://ips.mk>
>      >
>      >
>      > build: $(BUILD_32_and_64)
>      >
>      > test: $(TEST_32_and_64)
>      >
>      > install: $(INSTALL_32_and_64)
>      >
>      > BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
>      >
>      > include $(WS_TOP)/make-rules/depend.mk <http://depend.mk>
>
>     I just tried that Makefile with a few changes:
>     - Changed version to 1.4.8.
>     - Updated SHA1 hash for tar ball.
>     - Set the compiler to GCC.
>
>     And this results in libraries in both the /usr/lib and /usr/lib/amd64
>     folder, however, both sets of files are 32-bit according to "file".
>
>     I'll have to look closer into this, but I'm not sure it will be on
>     this side of the holidays.
>
>     --
>     Venlig hilsen / Kind regards
>     Jeppe Toustrup (aka. Tenzer)
>
>     _______________________________________________
>     oi-dev mailing list
>     oi-dev at openindiana.org <mailto:oi-dev at openindiana.org>
>     http://openindiana.org/mailman/listinfo/oi-dev
>
>
>
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
>






More information about the oi-dev mailing list