HOW to build ruby 1.8.6 package (p287) ???

Currently distro offers latest ruby version ruby-1.8.7_p72-3
Some my projects is not compatible with v1.8.7  so I need v1.8.6.
I have tried to build custom package ( just modify official PKGBUILD file from extra/ruby ABS)
But it has issue with openssl:
compiling openssl
make[1]: Entering directory `/home/wireless/aur/extra/ruby/src/ruby-1.8.6-p287/ext/openssl'
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -fPIC -march=i686 -mtune=generic -O2 -pipe -fPIC -c ossl_x509name.c
In file included from ossl.h:197,
from ossl_x509name.c:11:
openssl_missing.h:123: error: conflicting types for 'BN_rand_range'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include-fixed/openssl/bn.h:420: error: previous declaration of 'BN_rand_range' was here
openssl_missing.h:124: error: conflicting types for 'BN_pseudo_rand_range'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include-fixed/openssl/bn.h:421: error: previous declaration of 'BN_pseudo_rand_range' was here
ossl_x509name.c: In function 'ossl_x509name_initialize':
ossl_x509name.c:135: warning: passing argument 2 of 'd2i_X509_NAME' from incompatible pointer type
make[1]: *** [ossl_x509name.o] Error 1
make[1]: Leaving directory `/home/wireless/aur/extra/ruby/src/ruby-1.8.6-p287/ext/openssl'
make: *** [all] Error 1
==> ERROR: Build Failed.
Aborting...
Damn...
HOW TO BUILD IT?

==> Leaving fakeroot environment.
==> Finished making: ruby 1.8.6_p287-1 i686 (Sat Mar 21 13:40:10 EET 2009)
SOLVED with such PKGBUILD:
# $Id: PKGBUILD 26958 2009-02-14 23:32:24Z jgc $
# Maintainer: dorphell <[email protected]>
# Contributors: John Proctor <[email protected]>
# Jeramy Rutley <[email protected]>
pkgname=ruby
pkgver=1.8.6_p287
_pkgver=1.8.6-p287
pkgrel=1
pkgdesc="An object-oriented language for quick and easy programming"
arch=(i686 x86_64)
license=('custom')
url="http://www.ruby-lang.org/en/"
depends=('gdbm>=1.8.3' 'db>=4.7.25' 'openssl>=0.9.8j' 'zlib>=1.2.3.3' 'readline>=5.2.013')
makedepends=('tk>=8.5')
source=(ftp://ftp.ruby-lang.org/pub/ruby/1.8/${pkgname}-${_pkgver}.tar.bz2)
options=('!emptydirs' 'force')
md5sums=('80b5f3db12531d36e6c81fac6d05dda9')
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
./configure --prefix=/usr --enable-shared --enable-pthread || return 1
# Fix for conflict with openssl
sed -i'' -e "123,124s/.*//" ext/openssl/openssl_missing.h
make || return 1
make DESTDIR="${pkgdir}" install || return 1
#generate the ri docs
make -j1 DESTDIR="${pkgdir}" install-doc || return 1
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
Thx anyone

Similar Messages

  • Help please:  Can't export Extension Builder 3 extension to ZXP package

    The directions for exporting an extension from Extension Builder 3 to a ZXP package state:
    Export your extension
    To distribute your extension, you need to export it as a ZXP package that can be loaded and managed by the Adobe Extension Manager.
    1.  In the Eclipse Script Explorer view, right-click your project and choose Export > Adobe Extension Builder 3 > Application Extension. This displays the Export Wizard.
    When I do step one, this is what I see.  There is no Export>Adobe Extension Builder 3 option.
    When I click "Export..." this is what I get.  And this is not the correct Export Wizard according to the "Create Your Own HTML5 Extension In 5 Minutes" tutorial.
    I can't figure out how to export an extension created in Extension Builder 3 to a ZXP package.  Can anyone provide advice?  Thanks.

    The instructions aren't entirely clear if you haven't used Eclipse or Flash Builder before.
    Go to File> Export... 
    and in that list you see in your second snapshot, expand folder "Adobe Extension Builder 3" 
    and inside there you will see the "Application Extension"  option.  
    select it there.
    good luck.

  • How to build a Oracle style Web site

    Dear All,
    (Not sure whether this question should be this sub-site or not.)
    My question is how to build a Oracle style Web site, what technology should be use.
    Example Site: [http://www.orapub.net/ebs/index.htm|http://www.orapub.net/ebs/index.htm]
    This web site style is like Oracle Enterprise Manager.
    Thanks a lot
    Pan

    You can use Oracle Webcenter or just Oracle ADF to build a Oracle Enterprise Manager kind of Website.
    See details here -
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
    http://www.youtube.com/watch?v=iE2zTNhlvy8

  • How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000

    Post Author: ltkin
    CA Forum: WebIntelligence Reporting
    Hi,
    How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000 ?
    Regards,

    Hi ltkin,
    Unfortunately, it is not possible in Xir2 to create Webi reports from stored procedures.
    Webi reports can only be created from Universe. So in Business Objects XIR3 we can create a special universe that enables Web Intelligence user's to access stored procedures residing in the database. This is the only way that Web Intelligence user's can access stored procedures.
    Please let me know if the above information helps.
    Regards,
    Pavan

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • How to build the  FM data I_header and I_orgdata

    hi all,
    I’m working on the conversion program for AVL using the following function modules
    BBP_PD_AVL_GETLIST
    BBP_PD_AVL_CREATE
    BBP_PD_AVL_UPDATE
    BBP_PD_AVL_SAVE
    In the function module BBP_PD_AVL_CREATE , how to build the FM data  I_HEADER and I_ORGDATA.
    I'm giving 3 input in Export parameter in BBP_PD_AVL_GETLIST  and E_pdlist should contain data .
    but e_pdlist is not getting data...any suggestion..
    after execution it was showing  "Buffer table is not up to date"
    with regards,
    P.lokesh

    Hi Lokesh,
    We are also encountering same problem.
    How did you solve your problem?
    Would really appreciate your help.
    Thanks,
    Kezia

  • How to delete all objects in a package?

    Hello,
    I've seen a similar question here. But is there a tool or a smart way to delete all objects in a dev class or a transport request?
    Best Regards
    Volker

    These are really 3 questions??
    1. To delete objects in a request there are a number of ways, here is one:
    Position cursor on modifiable request.
    Double click on request and choose 'Objects' tab
    Choose object line you want to delete and click 'Delete'
    Save your changes.
    2. To delete objects in a Dev Class:
    Go to work bench --> edit object, Class and give your class name, you will see delete option at the bottom of the screen.
    3. How to delete all objects in a package:
    here is a link with the steps you need for this: http://benxbrain.com/en/index.do?onInputProcessing(brai_object_thread)&001_threadid=0000161442&sysid=WP5&pgmid=R3TR&object=DOMA&obj_name=DEVCLASS&child_param=

  • How to build a search engine in the database?

    Hi there,
    say I have 3 tables:
    1. Table_empl: idEmpl, fname, lname, dob...
    2. table_department: idDpartment, idEmpl, departmentName, section...
    3. table_fligths: idFlight, idEmapl, departure date, destination, carrier...I would like to provide the end-user a text box (in my GUI) where he can write whatever he would like to get info about. If, for example, he'll write: british-airways, I expect the system to search everything in the db that matches this input.
    Question: How can I design such a search engine that retrieve information from every possible table in the db with reference to every column.
    thanks for any pointers

    thanks darted for your reply. so what do you recommend? should i give the end user all names of tables and columns and ask him to choose from the list and than build a query based on that?
    this is optional but i'd rather have one exec button and to return all possible results from the db. if (in the example i provided) it found 'british airways' in the carrier - than that a result. if it founds 'british' in the lname of table_emple - that's another result. so the output should be something like:
    found 2 matches:
    1. british airways, 10/10/2006, LHR
    2. British, John, 12/01/63,
    any idea how to build that?

  • How to load original fonts in a packaged ID file I was sent

    How to a load fonts into a packaged document another designer sent me; I don't want to use them in my document, but I'd like them in hers. This InDesign CC14. In other words, I have her fonts in her package, but don't know how to get them showing in her document correctly without using them in mine.

    Sorry for the delay in answering. The fonts named as missing are:
    Helvetica Neue  (T1) 107 Extra Black Cond Oblique
    Helvetica Neue  (T1) 27 Ultra Light Condensed
    Helvetica Neue  (T1) 35 Thin
    Helvetica Neue  (T1) 45 Light
    Helvetica Neue  (T1) 65 Medium
    Helvetica Neue  (T1) 66 Medium Italic
    Helvetica Neue  (T1) 67 Medium Condensed
    Helvetica Neue  (T1) 75 Bold
    Helvetica Neue  (T1) 76 Bold Italic
    Helvetica Neue  (T1) 77 Bold Condensed
    Helvetica Neue  (T1) 77 Bold Condensed Oblique
    Helvetica Neue  (T1) 85 Heavy
    Helvetica Neue  (T1) 86 Heavy Italic
    Helvetica Neue  (T1) 87 Heavy Condensed
    Helvetica Neue  (T1) 95 Black
    Helvetica Neue  (T1) 97 Black Condensed
    Helvetica Neue  (T1) 97 Black Condensed Oblique
    Times (T1)
    Helvetica Neue-Heavy
    I do not see these in the Fonts Folder, or much else I recognize as a font. I didn’t look before because I just assumed when packaged every font would be collected, but maybe they are just not there.

  • How to build a query based on(UNION) 3 vendor InfoObject

    Dear Experts:
    I have a requirement to build one query based on 3 vendor InfoObjct: 0VENDOR + 0VEN_COMPC + 0VEN_PURORG.
    I tried to build a multiprovider upon these 3 infoobjects, but when I Identify(Assign) the key for each InfoObject, supposely there should be 3 InfoObject for me to check (0VENDOR, 0VEN_COMPC and 0VEN_PURORG) so that I can UNION these 3 infoobjects together on vendor number. But since the reference infoobject of these 3 vendor master data is different, I can not check the 3 together.
    Can anybody let me know how to build that query? I only need vendor number show once, and the attributes of 0VEN_COMPC and 0VEN_PURORG can be union to 0vENDOR.
    Any post would be appreciated and thank you all in advance!
    Best Regards!
    Tim

    Hi,
    you can create a link between the vendor objects itself, means link 0vendor with 0ven_compc and 0ven_purorg. This should give you a list of all vendors multiplied with the comp codes multiplied with the purch. org. May be here it is possible to create another link between a attribute (eg. comp_code of 0ven_purorg with comp_code of 0ven_compc). In case it is not possible you need to add this link information somehow. Another option might be to create 2 queries. One on a infoset of 0vendor and 0ven_purorg and another one on 0vendor and 0ven_compc.
    regards
    Siggi

  • How to build a server?

    Hey,
    Can anybody tell where I can find online tutorials on how to build a server using java?
    Thanks

    @bender02
    Thx very much for your link. This ready-made solutions can help me to save a lot of otherwise wasted time. QNAP's NAS solution looks good and this Bubba|Two (though it doesn't have mirroring via raid1) is also very attractive.
    I am very interested in what server solution you use.
    My planned server is really for local network uses only. It should serve for file related purposes like file sharing over the network, backup (maybe with raid1) and a centralized data storage.
    I think I will settle with one of this commercial and ready-for-use systems. The thought to tinker around and to make everything by yourself is very temptating but I am getting weary of it. And I dont have the time to tinker around as I have to study enormous amounts
    If I did everything by myself I would have to learn how to handle ssh and rsync, which software is suited for what purpose, how I can configure each software to fit my needs and at last I would have to work on some scripts or search for them to achieve a workaround. And this takes for weeks and months, time that I can't afford -.- sometimes a desktop alone can be enough work to do, when I want everything to be "perfect" and "secure". In the past the guys worked on their motorcycles and now they work on their computers, hehe
    So if nobody has a very good reason why I should tinker around, then I'll buy some ready-for-use stuff.
    Last edited by hauntergeist (2009-04-11 20:55:56)

  • How to build Perfctr 32-bit libray on 64-bit AMD machine

    Dear all,
    I have downloaded perfctrl library (used by "collect" tool) as this is required by collect tool for getting performance data from underline system.
    from http://user.it.uu.se/~mikpe/linux/perfctr/2.6/perfctr-2.6.34.tar.gz
    OS
    Linux MyMachine 2.6.18-92.el5.src-PAPI #1 SMP Tue Jan 27 10:57:40 CET 2009 x86_64 x86_64 x86_64 GNU/Linux
    Architecture
    AMD 64 bits (Family 10h) or x86_64
    I am using Java version
    $ java -version
    java version "1.6.0_10"
    Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
    Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
    My question is that when i install using defaults, perfctr user library installs 64-bit of libray version that can be used with 64-bit JVM
    but i need to use or get performance data using "collect" tool and 32-bit JVM, for that i think i need 32-bit version of "perfctr" library
    So i want to know can any body kindly tell me how to build 32-bit "perfctl" library on my system.
    Many Thanks

    You are correct - you will need to build a 32-bit perfctr user library to profile 32-bit applications.
    The analyzer team has only built this library on 32-bit systems (and copied the library to the 64-bit systems). Some users have built the 32-bit version on 64-bit system, but we don't know the specific changes they made to the perctr build. I'm sorry I couldn't be more help at this time.

  • How to build my own SELECT-OPTIONS?

    Hi experts,
    I hv 4 values like for a field, (say VBAK-BNAME),
    NAME_A
    NAME_D
    NAME_M
    NAME_Z
    My selection- screen is like,
    SELECT-OPTIONS: MANAGER FOR VBAK-BNAME.
    So,
    1) How to build the SELECT-OPTIONS table in my ABAP code?
    I mean, if the user enters the NAME_A TO NAME_Z in select-options, the system shuld take in-between NAMEs also!
    (Actually, I thiught that, the SAP will take care of building the select-options table based on Alphabetical Order, but, When I observed in debug mode, its not like that!)
    2) And Where I hv to write the code for building select-options? I mean, Is it DATA DECLARATION part, AT SELECTION SCREEN or AT SELECTION SCREEN OUTPUT or START OF SELECTION?
    thanq.
    Message was edited by:
            Sridhar
    Message was edited by:
            Sridhar

    Hi,
    Pls. suggest me other than RANGES?
    Well, if you don't want to use RANGE then you can do it at SELECT statement.
    SELECT BNAME
    INTO TABLE ITAB
    FROM VBAK
    WHERE BNAME IN ( NAME_A, NAME_D, NAME_M, NAME_Z )
    OR
    SELECT BNAME
    INTO TABLE ITAB
    FROM VBAK
    WHERE BNAME BETWEEN 'NAME_A' AND 'NAME_Z'.
    2) under which event i hv to write it?
    If you are using in SELECT statement, then you use at START-OF-SELECTION.
    If you are buiding RANGE, then you can use at any events such as INITIALIZATION, AT SELECTION-SCREEN OUTPUT, START-OF-SELECTION, etc.
    Regards,
    Ferry Lianto

  • How to build a plug-in for FCP

    I want to build an export plug-in for FCP. It is a little similar to Automatic duck export plug-in. I want to export sequence in my own format.
    The version of Final Cut Pro is 6.0.
    I downloaded FxPlug SDK, but it is only about video effect, not what i want.
    And I didn’t find any other documents about how to build an export plug-in for FCP.
    Who has some related documents or can support me on this?
    I will pay for the help if i can afford it.

    I don't own Automatic Duck so I don't know how that particular application goes about doing this, but the only way I can think of doing it is through a QuickTime Export Component.
    http://developer.apple.com/documentation/QuickTime/Rm/ImportExport/DataExchange/ A-Intro/chapter1_section1.html

  • How to build a query to join on two tables without mapping

    I did Automatic mapping by the workbench Directofield mapping with the table and java object.
    Wanted to build a simple join query by joining on the same field on both the tables.Not the sql query through the toplink using expression builder.
    Please help.............
    Spent one full day for this................

    Thanks Don for the reply,sorry to bug you,but i need help.....
    SELECT A.AGNCY_C,
         A.TYPE_C,
         A.RESN_C,
         A.S_TYPE_C,
         A.SUB_ID_C,
         A.RY_C
    FROM RATING A, REF B
    WHERE A.ID_C = B._ID_C
    AND A.ALPHA_C = B.ALPHA_C
    AND A.EFF_D >= B.MATURITY_D
    This is the real query i was talking about.I did mapping automatically through the workbench,generated java classes also throught the workbench.
    Now they don't want to execute the raw sql.They wanted to get all the RATING objects with the where condition.
    So how to build a query by using toplink.
    tried your example
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression creditRating = builder.getTable("RATING").getField("ID_C");
    Expression issue_ref = builder.getTable("REF").getField("ID_C");
    Expression join = creditRating.equal(issue_ref);
    I am getting java.lang.OutOfMemoryError
    error.
    I selected the option generate classes and descriptors
    from the tables (RATING,REF).,so it created the classes and dscriptors automatically.
    In Database script for the table RATING like this
    ALTER TABLE RATING ADD (
    CONSTRAINT RATING_F1 FOREIGN KEY (ID_C, ALPHA_C)
    REFERENCES REF (ID_C,ALPHA_C));
    I think when i generate descriptor automatically it is keeping this association.
    Please help me.........

Maybe you are looking for

  • Explorer crashes due VC++ 2010/12 in Windows 7 Ultimate

    Nearly 4 weeks before I installed windows 7 Ultimate in my laptop. After a week explorer crashing event occurs when I want to open several applications including event viewer. It seems as following: Faulting application name: explorer.exe, version: 6

  • Why on my screen is the text not all showing, it is overlapped by other txt or graphics?

    on some windows the graphics are out of place and over lap text, in other cases text overlaps text as if the entire page is not showing as it should, it makes reading the window, page impossible.

  • Can't fine the "Tones" button in iTunes 10.7

    I am trying to add my custom ringtone to my iphone. I saw many tutorials and they all say to drag the ringtone to the tones button, but I can't find it. Please help. It should be under library on the side, or under Devices. They are in neither locati

  • Magic Mouse User Feedback/Suggestion Box

    The Magic Mouse has great esthetic appeal, the touch to scroll is employed well, the swipes will take some getting used to as it is a natural movement (at least to me). The biggest shortfall I see is the inability to assign the functions, as well as

  • Error during stage audit run

    Hi, During stage audit run in transaction PIQ_AUD_MP_CP, the error " requirement status profile has the status incomplete, check the profile". I have maintained requirement pattern, the requirement selection for abstract requirements and assigned the