I'm backporting some applications from Cooker, Mandriva's developing version, on Gdium and I run into some problems. Some applications fails at compilation time, due to dumbness in original specfiles, but some others fails about some Gdium specific issue. For instance, libxml2-config --libs returns null, whereas linux32 libxl2-config --libs returns -lxml2 -lm -lz. In fact, it appears that some apps must be compiled with a linux32 prefix !

I've also installed ccache on my development environnement, which allows caching for .o files before linking. rpmbuild always starts by removing the precdent BUILD tree, so if rpm packaging failed about a missing man page, you must re-compile the whole package. ccache is then great for speeding-up the re-compilation process. To enable ccache, just install it and then change a bit your path, to be sure, ccache is used :


urpmi ccache
export PATH=/sbin:/usr/sbin:/usr/X11R6/bin:/bin:/usr/lib/ccache/bin:/usr/bin:/usr/local/bin:/root/bin:/usr/lib/qt4/bin
ccache -M 2G


Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Images can be added to this post.
  • Allowed HTML tags: <a> <b> <blockquote> <br> <cite> <code> <col> <dd> <div> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <hr> <i> <img> <li> <object> <ol> <p> <param> <span> <strong> <table> <tbody> <td> <tr> <ul>
    Allowed Style properties: background, background-attachment, background-color, background-image, background-position, background-repeat, border, border-bottom, border-bottom-color, border-bottom-style, border-bottom-width, border-collapse, border-color, border-left, border-left-color, border-left-style, border-left-width, border-right, border-right-color, border-right-style, border-right-width, border-spacing, border-style, border-top, border-top-color, border-top-style, border-top-width, border-width, caption-side, clear, color, empty-cells, float, font, font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight, height, line-height, margin, margin-bottom, margin-left, margin-right, margin-top, padding, padding-bottom, padding-left, padding-right, padding-top, table-layout, text-align, text-decoration, text-indent, width

More information about formatting options

CAPTCHA
Please answer the following question, just to check you're not a computer
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.