Search:

Type: Posts; User: mlind; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.18 seconds.

  1. Replies
    4
    Views
    524

    Re: [java]Conditional Splitting

    Hiya,

    One way to do this is to use regular expressions (and so called 'negative lookbehind').



    String foo = "Hello\\. World. My\\. Name. Is\\. Cody";
    for (String s :...
  2. Replies
    10
    Views
    133,487

    Re: 000-default Apache2 config file

    You can get it from the apache2.2-common binary package.



    cd /tmp
    aptitude download apache2.2-common
    dpkg -x apache2.2-common*.deb test
    cp /tmp/test/etc/apache2/sites-available/default...
  3. Replies
    4
    Views
    11,775

    Re: Help me to configure PostgreSQL

    You can change to postgres user like


    sudo su postgres

    Then


    psql -d postgres < /usr/share/postgresql/8.2/contrib/adminpack.sql
  4. Thread: Java Listeners

    by mlind
    Replies
    7
    Views
    589

    Re: Java Listeners

    Attach a MouseAdapter to a component you wish to listen.



    import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    ...
  5. Replies
    2
    Views
    1,864

    Re: postgres configuration files

    Easiest way is to probably purge your postgresql package (e.g postgresql-8.2) and the reinstall it back. Removing instead of purging a package doesn't remove its configuration files (like files in...
  6. Replies
    52
    Views
    36,576

    Re: Building packages on a clean-room environmend

    https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/123068
    You need to add --force-yes in /usr/lib/pbuilder/pbuilder-satisfydepends
  7. Replies
    10
    Views
    8,761

    Re: Compiling glibc 2.7 on Ubuntu 7.10

    why exactly you want to compile newer glibc?
  8. Re: cannot create executables. build-essential is installed.

    hey, do you have g++ package installed (especially g++-4.1) ?

    /edit scratch that.. looks like something else is broken. Does running ldconfig as root work okay?
  9. Re: cannot create executables. build-essential is installed.

    strange, I only have cpp which provides cpp-4.1 and I don't have issues timseal is describing.
    (using Gutsy)
  10. Re: cannot create executables. build-essential is installed.

    right, how about


    sudo aptitude purge build-essential
    sudo aptitude install build-essential

    ?
  11. Re: cannot create executables. build-essential is installed.

    You should take the newest trasmission package from Debian unstable using apt-get source transmission. It's already packaged so you just need compile and install the resulting .deb packages.

    ...
  12. Thread: GTK problem

    by mlind
    Replies
    8
    Views
    17,166

    Re: GTK problem

    gtk_init() is from gtk.h.
    http://library.gnome.org/devel/gtk/unstable/gtk-General.html#gtk-init

    Are you calling the function correctly?


    This should work for you, compile using gcc...
  13. Re: cannot create executables. build-essential is installed.

    What application are you compiling?
    According to the error message, you're missing 'cc1' binary.

    What's the output of


    slocate -r /cc1$


    You probably need to install one of the following...
  14. Re: Building mobile-browser (moblin project) in Ubuntu 7.04 fails

    Your package must Build-Depends on debhelper so that package gets installed in the chroot environment. I suggest you to read the New Maintainers Guide for starters.

    The source package doesn't look...
  15. Re: Building mobile-browser (moblin project) in Ubuntu 7.04 fails

    Package must build-depend on debhelper which provides the missing dh_testdir script.
  16. Replies
    3
    Views
    1,606

    Re: Problems making deb package of qemu

    right. you probably have some garbage in the debian/control file. Did you use dh_make to create the 'skeleton' source package? You should if you didn't.
    If you're not yet familiar with New...
  17. Replies
    3
    Views
    1,606

    Re: Problems making deb package of qemu

    Ubuntu (gutsy and hardy) archive already contains the qemu package. Is there a reason you're duplicating the effort or are not using already existing source base as base for yours?
  18. Thread: Packaging help

    by mlind
    Replies
    10
    Views
    1,123

    Re: Packaging help

    debhelper and cdbs contain helper scripts for the packaging process. I guess most (if not all) packages in Ubuntu and Debian build-depend on debhelper. Answer to the question why to use debhelper and...
  19. Thread: Packaging help

    by mlind
    Replies
    10
    Views
    1,123

    Re: Packaging help

    okay, then you need to change tomboy from Recommends to Depends in debian/control.

    Here's a very quick howto for compiling the binaries:

    download the attached archive and extract it, say in...
  20. Thread: Packaging help

    by mlind
    Replies
    10
    Views
    1,123

    Re: Packaging help

    I took a test how this package would turn out and and I'm attaching the resulting source package, including a binary for Gutsy.

    The package builds okay on Gutsy on Feisty and installs in Gutsy. I...
  21. Thread: Packaging help

    by mlind
    Replies
    10
    Views
    1,123

    Re: Packaging help

    If you cannot find a mentor, I can also help you out. By looking how some mono apps like banshee or f-spot are packaged, you can get a feeling how to begin.
  22. Thread: Packaging help

    by mlind
    Replies
    10
    Views
    1,123

    Re: Packaging help

    Ubuntu wiki contains very good resources if you're starting from scratch and there's also ongoing mentoring program for new packagers.

    https://help.ubuntu.com/ubuntu/packagingguide/C/...
  23. make a visible note for users to read release notes

    It would be useful to create some kind of forum notify text to get users to read Gutsy release notes now that the new release is out. Forums seem to fill with similar/same questions which are...
  24. Poll: Re: Share with the community your gutsy install/upgrade experience

    All Gutsy users (especially upgraders from earlier distro) should read the Gutsy release notes for issues that may require attention:
    http://www.ubuntu.com/getubuntu/releasenotes/710
  25. Thread: Gnucash 2.0

    by mlind
    Replies
    55
    Views
    22,945

    Re: Gnucash 2.0

    I fetched the source from Gutsy's repositories using apt-get, then built it with pbuilder (you need to have deb-src repositories enabled in your /etc/apt/sources.list).

    Then do something like this...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4