Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-03-2005
xdm's Avatar
xdm xdm is offline
ZeroC Staff
 
Name: José Gutíerrez de la Concha Martínez
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Sep 2003
Location: La Coruña, Spain
Posts: 291
Ice gentoo ebuild

Hello i writing an ebuild for instaled Ice in gentoo portage, i have a problem with Make.rules.

in Make.rules is defined a variable DB_HOME and then this is used to set DB_FLAGS and DB_LIBS like this

Code:
ifneq($(DB_HOME),)
         DB_FLAGS = -I$(DB_HOME)/include
         DB_LIBS = -Ñ$(DB_HOME)/lib
else
         DB_FLAGS = -I$(DB_HOME)/include
         DB_LIBS = -Ñ$(DB_HOME)/lib
endif

my problem is that gentoo db default instalation installs

include files under /usr/include

and libs under /usr/db-$(db_version)/lib


normaly when I install gentoo manualy i create a dumy dir /opt/db
and in this directory i create include and lib links to de current db version installed in gentoo portage. I want now if i can solve this compilation problen whitout need to create the dumy dir and simple exports the DB_FLAGS and DB_LIBS before runing Make


but i dont know how to do this in a way that Make.rules dont overwrite my variables
Reply With Quote
  #2 (permalink)  
Old 03-03-2005
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 813
Did you try to define the environment variables DB_FLAGS and DB_LIBS and build with gmake -e (-e means environment variables override)?

Bernard
Reply With Quote
  #3 (permalink)  
Old 03-03-2005
xdm's Avatar
xdm xdm is offline
ZeroC Staff
 
Name: José Gutíerrez de la Concha Martínez
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Sep 2003
Location: La Coruña, Spain
Posts: 291
problem solved

thanks bernad the -e option resolve my problem
when i finish the ebuild i submit it to this thread and to gentoo servers
Reply With Quote
  #4 (permalink)  
Old 03-09-2005
xdm's Avatar
xdm xdm is offline
ZeroC Staff
 
Name: José Gutíerrez de la Concha Martínez
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Sep 2003
Location: La Coruña, Spain
Posts: 291
Hello i send a ebuild for Ice c++ to gentoo bugzilla if any one is interesting in it the url is

http://bugs.gentoo.org/show_bug.cgi?id=84646



for more info of how-to install third party ebuilds in gentoo portage read
http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds


I hope this be helpfully
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ice 3.0.0 and Gentoo ebuild kovacm Help Center 4 12-30-2005 10:16 AM


All times are GMT -4. The time now is 04:30 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.