Jump to content

brancalessio

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by brancalessio

  1. Hi!

     

    KPPP configuration is simple. I have only to provide your ISP telephone number. Moreover I do not provide DNS address, KPPP finds them by it self...

     

    Bye!

  2. Hi!

     

    By default a NTFS partition can be read. On my computer I have Win Xp Pro and I read the data on it without any problem...

     

    About writing, the description of the kernel module to write onto a NTFS partition says:

     

    WARNING: Do not use this option unless you are actively developing NTFS as it is currently guaranteed to be broken and you may lose all your data!

     

    So, I think one should avoid writing on a NTFS partition. Moreover, I read in the developers site for NTFS support that the module works (more or less) with Windows NT since there are variouse versions of this file system (all not properly documented :oops).

     

    Bye :D

  3. Mmm... If your program is installed but you don't have the installation CDs, then you have (probably, I'm not sure) to use the existing Windows partition and not the fake_windows...

     

    I have also Windows XP (Pro), but I did not tried that way. Using an existing Windows partition might dangerous (winesetup told me). But... what filesystem do you have on Windows? NTFS? If so and if you did not compile your kernel with NTFS write support (it is off by default) then Linux can't write to the Windows partition... So there will be no problems (no data loss I mean).

     

    Gook luck! Bye!

  4. Hi!

     

    I use Mandrake 9.2 with a RPM downloaded from the site of Wine (www.winehq.com). Previously I tried to use the RPM coming from the installation CDs but none worked... :angry:

     

    To set up wine you should run (after installing the RPM from the Wine site), the command

    winesetup

     

    It is safe to create a fake_windows installation so that you can install your programs without touching your Windows installation (if you have one). Also I found that there are some problems opening something like the licence agreement of Acrobat Reader so that the installation is OK but you can't run the program... Anyway this problem is fixed if you create (with winesetup) a wine desktop instead of managed or unmanaged windows...

     

    I did not tried to use MS Office under wine. But some other programs work fine! :thumbs:

     

    Bye!

  5. I can't build an RPM for lame-3.93.1 using the file lame.spec coming with the tar.bz2.

     

    Here is the spec file

     

    %define name lame
    %define ver 3.93.1
    %define rel 1
    %define prefix %{_usr}
    %define docdir %{_defaultdocdir}
    
    Summary : LAME Ain't an MP3 Encoder... but it's the best.
    Summary(fr) : LAME n'est pas un encodeur MP3;->
    Name: %{name}
    Version: %{ver}
    Release: %{rel}
    Copyright: LGPL
    Vendor: The LAME Project
    Packager: Yosi Markovich <yosim@bigfoot.com>
    URL: http://www.mp3dev.org/mp3
    Group: Applications/Multimedia
    Source: ftp://lame.sourceforge.net/pub/lame/src/%{name}-%{ver}.tar.bz2
    BuildRoot: %{_tmppath}/%{name}-root
    Requires: ncurses
    BuildRequires: gcc, /usr/bin/find, ncurses-devel
    Provides: mp3encoder
    
    %description
    LAME is an educational tool to be used for learning about MP3 encoding.  The
    goal of the LAME project is to use the open source model to improve the
    psycho acoustics, noise shaping and speed of MP3.
    
    %package devel
    Summary: Shared and static libraries for LAME.
    Group: Development/Libraries
    Requires: %{name} = %{ver}
    
    %description devel
    LAME is an educational tool to be used for learning about MP3 encoding.
    This package contains both the shared and the static libraries from the
    LAME project.
    
    You will also need to install the main lame package in order to install
    these libraries.
    
    %prep -q
    
    %setup -q
    
    %build
    
    export CC_OPTS="-O3 -march=i386 -mcpu=i686 -fomit-frame-pointer  -funroll-loops -ffast-math -finline-functions -Wall -pedantic"
    
    %ifarch i686
    export CC_OPTS="-O3 -fomit-frame-pointer -mcpu=i686 -march=i686 -malign-functions=4 -funroll-loops -fexpensive-optimizations -fschedule-insns2 -Wall -mfancy-math-387 -pipe"
    %endif
    %ifarch athlon
    export CC_OPTS="-O3 -fomit-frame-pointer -fno-strength-reduce -mcpu=athlon -march=athlon -malign-functions=4 -funroll-loops  -fexpensive-optimizations -fschedule-insns2 -Wall -mfancy-math-387 -pipe"
    %endif
    
    rm -f config.cache
    
    %configure \
    --enable-nasm \
    --enable-decoder \
    --without-vorbis \
    --enable-analyzer=no \
    --enable-brhist \
    --disable-debug
    
    make CC="gcc3" CFLAGS="${CC_OPTS}" test
    
    %install
    rm -rf %{buildroot}
    find . -name CVS | xargs rm -rf
    mkdir -p %{buildroot}%{_bindir}
    %makeinstall
    
    ln -sf lame/lame.h %{buildroot}%{_includedir}/lame.h
    install -D -m 644 doc/man/lame.1 %{buildroot}%{_mandir}/man/lame.1
    
    # move back lame.h
    mv %{buildroot}%{_includedir}/lame/lame.h %{buildroot}%{_includedir}/lame.h
    find doc/html -name "Makefile*" | xargs rm -f
    
    %post -p /sbin/ldconfig
    %postun -p /sbin/ldconfig
    
    %clean
    rm -rf %{buildroot}
    
    %files
    %defattr (-,root,root)
    %doc COPYING ChangeLog README TODO USAGE doc/html
    %doc doc/html
    %{_bindir}/lame
    %{_libdir}/libmp3lame.so.*
    %{_mandir}/man1/lame.1*
    
    %files devel
    %defattr (-, root, root)
    %doc API HACKING STYLEGUIDE
    %{_libdir}/libmp3lame.a
    %{_libdir}/libmp3lame.la
    %{_libdir}/libmp3lame.so
    %{_includedir}/lame
    %{_includedir}/lame.h
    
    %changelog
    
    * Sat May 11 2002 Yosi Markovich <yosim@bigfoot.com>
    - Fixes to the spec file that include:
    - Making sure the compiler is gcc version 3.0.1. Lame compiled with a version
     greater than 3.0.1 is broken.
    - Optimization flags for i686 will use i686 for march and mcpu, and not
     athlon.
    - Fix the dates in this Changelog section.
    - Various small fixes merged from Matthias Saou.
    - Thanks Fred Maciel <fred-m@crl.hitachi.co.jp> for his useful comments.
    
    - 
    * Tue Jan 22 2002 Mark Taylor <mt@mp3dev.org>
    - replaced lame.spec.in with Yosi's version.  Merged some stuff from
     the prevous lame.spec.in file, and appended changelog below.
    
    * Tue Jan 22 2002 Yosi Markovich <yosim@bigfoot.com>
    - Rewrote lame.spec.in to create a correct and nice spec file.
     imho, this spec file is not good for anyone who wants to build
     daily cvs snapshots. Closes bug #495975
    
    * Tue Dec 11 2001 Yosi Markovich <yosim@bigfoot.com>
    - Shamelessly stole Matthias Saou's excellent spec file to create daily
     CVS snapshots of Lame. Other than that, nothing is new.
    
    * Tue Oct 23 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
    - Fixed the %pre and %post that should have been %post and %postun, silly me!
    - Removed -malign-double (it's evil, Yosi told me and I tested, brrr;-)).
    - Now build with gcc3, VBR encoding gets a hell of a boost, impressive!
     I recommend you now use "lame --r3mix", it's the best.
    - Tried to re-enable vorbis, but it's a no-go.
    
    * Thu Jul 26 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
    - Build with kgcc to have VBR working.
    
    * Wed Jul 25 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
    - Update to 3.89beta : Must be built with a non-patched version of nasm
     to work!
    
    * Mon May  7 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
    - Rebuilt for Red Hat 7.1.
    - Disabled the vorbis support since it fails to build with it.
    - Added a big optimisation section, thanks to Yosi Markovich
     <senna@camelot.com> for this and other pointers.
    
    * Sun Feb 11 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
    - Split the package, there is now a -devel
    
    * Thu Nov 26 2000 Matthias Saou <matthias.saou@est.une.marmotte.net>
    - Initial RPM release for RedHat 7.0 from scratch
    
    * Wed Nov 21 2000 Eric Lassauge <lassauge@mail.dotcom.fr>
    - Updated and corrected RPM to 3.89beta.
    - Added french translations
    
    * Sat Aug 04 2000 Markus Linnala «maage@cs.tut.fi»
    - Build and include docs and libs correctly
    - Build extra programs
    
    * Tue Aug 01 2000 Stuart Young «cefiar1@optushome.com.au»
    - Updated RPM to 3.85beta.
    - Modified spec file (merged George and Keitaro's specs)
    - Added reasonable info to the specs to reflect the maintainer
    - Renamed lame.spec (plain spec is bad, mmkay?).
    
    * Fri Jun 30 2000 Keitaro Yosimura «ramsy@linux.or.jp»
    - Updated RPM to 3.84alpha.
    - Better attempt at an RPM, independant of 3.83 release.
    - (This is all surmise as there was no changelog).
    
    * Thu May 30 2000 Georges Seguin «crow@planete.net» 
    - First RPM build around 3.83beta

     

    Running rpm -ba lame.spec no RPM is built. The last lines of the output are

     

    Executing(%doc): /bin/sh -e /home/alessio/RPM/tmp/rpm-tmp.31371
    + umask 022
    + cd /home/alessio/RPM/BUILD
    + cd lame-3.93.1
    + DOCDIR=/home/alessio/RPM/tmp/lame-root/usr/share/doc/lame-3.93.1
    + export DOCDIR
    + rm -rf /home/alessio/RPM/tmp/lame-root/usr/share/doc/lame-3.93.1
    + /bin/mkdir -p /home/alessio/RPM/tmp/lame-root/usr/share/doc/lame-3.93.1
    + cp -pr COPYING ChangeLog README TODO USAGE doc/html /home/alessio/RPM/tmp/lame-root/usr/share/doc/lame-3.93.1
    + cp -pr doc/html /home/alessio/RPM/tmp/lame-root/usr/share/doc/lame-3.93.1
    + exit 0
    Finding  Provides: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-provides
    Using BuildRoot: /home/alessio/RPM/tmp/lame-root to search libs
    Finding  Requires: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-requires /home/alessio/RPM/tmp/lame-root i586
    Provides: mp3encoder libmp3lame.so.0
    Requires(interp): /sbin/ldconfig /sbin/ldconfig
    Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
    Requires(post): /sbin/ldconfig
    Requires(postun): /sbin/ldconfig
    Requires: ncurses libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libm.so.6 libm.so.6(GLIBC_2.0) libncurses.so.5
    Processing files: lame-devel-3.93.1-1
    Executing(%doc): /bin/sh -e /home/alessio/RPM/tmp/rpm-tmp.17565
    + umask 022
    + cd /home/alessio/RPM/BUILD
    + cd lame-3.93.1
    + DOCDIR=/home/alessio/RPM/tmp/lame-root/usr/share/doc/lame-devel-3.93.1
    + export DOCDIR
    + rm -rf /home/alessio/RPM/tmp/lame-root/usr/share/doc/lame-devel-3.93.1
    + /bin/mkdir -p /home/alessio/RPM/tmp/lame-root/usr/share/doc/lame-devel-3.93.1
    + cp -pr API HACKING STYLEGUIDE /home/alessio/RPM/tmp/lame-root/usr/share/doc/lame-devel-3.93.1
    + exit 0
    Finding  Provides: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-provides
    Using BuildRoot: /home/alessio/RPM/tmp/lame-root to search libs
    Finding  Requires: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-requires /home/alessio/RPM/tmp/lame-root i586
    Provides: devel(libmp3lame)
    Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
    Requires: lame = 3.93.1
    Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/alessio/RPM/tmp/lame-root
    error: Installed (but unpackaged) file(s) found:
      /usr/share/doc/lame/html/basic.html
      /usr/share/doc/lame/html/contributors.html
      /usr/share/doc/lame/html/examples.html
      /usr/share/doc/lame/html/history.html
      /usr/share/doc/lame/html/id3.html
      /usr/share/doc/lame/html/index.html
      /usr/share/doc/lame/html/lame.css
      /usr/share/doc/lame/html/modes.html
      /usr/share/doc/lame/html/node6.html
      /usr/share/doc/lame/html/presets.html
      /usr/share/doc/lame/html/switchs.html
      /usr/share/man/man/lame.1.bz2
    
    
    RPM build errors:
       Installed (but unpackaged) file(s) found:
      /usr/share/doc/lame/html/basic.html
      /usr/share/doc/lame/html/contributors.html
      /usr/share/doc/lame/html/examples.html
      /usr/share/doc/lame/html/history.html
      /usr/share/doc/lame/html/id3.html
      /usr/share/doc/lame/html/index.html
      /usr/share/doc/lame/html/lame.css
      /usr/share/doc/lame/html/modes.html
      /usr/share/doc/lame/html/node6.html
      /usr/share/doc/lame/html/presets.html
      /usr/share/doc/lame/html/switchs.html
      /usr/share/man/man/lame.1.bz2

     

    Of course, I have all the output if necessary.

     

    I know there is a RPM from lame form the Penguin Liberation Front, but I would like to build my own, just to learn something more!!! :help:

  6. Hi!

     

    I tried my advice today. I use mdk92 and it worked! The only thing is that you must be root... if you don't want to change some permissions on some device files...

     

    Another way should be to reduce the time the client waits for the answer of the DHCP server... For example, if one can tell to wait only 20 seconds instead of 120, it should be great... At the moment I don't know how to do... and if it is possible...

     

    Bye!

  7. Hi!

     

    Do you use DHCP only?

     

    Set your network with Mandrake Control Center. Choose "expert mode". You should find an option named, "start on boot". Do not use this option.

     

    After the boot run as root

    ifup eth0

    and your ethernet device should be up! To stop the network use

    ifdown eth0

     

    I'm telling you to run these commands as root. Try also as user, but I'm not sure it will work!

     

     

    Let me know!

  8. If you still experience problems, try this way.

     

    When the CD starts and you see the initial splash, press ESC. Then type

    linux init 5

    to have a graphical system,

    linux init 3

    to have a text-only system.

     

     

    Are you running Mandrake Move on a laptop? One of my friends had a problem of kernel panic with a (new) laptop and Mandrake (9.2).

     

     

    Probably the right thing to do is the following.

     

    When the CD starts and you see the initial splash, press ESC. Then type

    linux noapic

    At the worst

    linux init 5 noapic

    or

    linux noapic init 3

     

    Let we know!

  9. I am sorry! I cannot play DVDs... :(

     

    The only thing I can do is to mount the disc as an iso9660 filesystem, the look into the video_ts folder for files .vob, then play it with mplayer, xine or whatsoever...

     

    In this way I can see the film, but no menus, language selection, subtitles are allowed...

     

     

    In a previous post I asked all the people the following question: what region is set you dvdrom? I know this can violate privacy... I don't know if that would be useful...

     

    I was planning to recompile the software, mplayer, libdvdcss and so on... Just to try, but now I am quite pessimist...

     

    :sad: :cry:

  10. Today I had a look at this

     

    http://www.mandrakesecure.net/en/advisorie...=MDKSA-2004:026

     

    and I found that

     

    Mandrake Linux 9.2

     

    d2335a0b3a0309a109db619a3c1247cd  9.2/RPMS/libdha0.1-0.91-8.2.92mdk.i586.rpm

    3f739b2b8da578eec51d6c470d016861  9.2/RPMS/libpostproc0-0.91-8.2.92mdk.i586.rpm

    bea49f0df30a6fc90c08ce7de955ad51  9.2/RPMS/libpostproc0-devel-0.91-8.2.92mdk.i586.rpm

    fc157454aebde5fc4b40688c920987ff  9.2/RPMS/mencoder-0.91-8.2.92mdk.i586.rpm

    ab6cbd8a28a845d714f5e572dadbd52b  9.2/RPMS/mplayer-0.91-8.2.92mdk.i586.rpm

    18f43c4247b164f9c11dd2a70ab707c5  9.2/RPMS/mplayer-gui-0.91-8.2.92mdk.i586.rpm

    f930e2754ab5d7e284a71f5a9f40cc38  9.2/SRPMS/mplayer-0.91-8.2.92mdk.src.rpm

     

    I updated the file hdlist.cz by Software Media Manager, but I can't find in MandrakeUpdate the following packages

     

    Mandrake Linux 9.2

     

    d2335a0b3a0309a109db619a3c1247cd  9.2/RPMS/libdha0.1-0.91-8.2.92mdk.i586.rpm

    3f739b2b8da578eec51d6c470d016861  9.2/RPMS/libpostproc0-0.91-8.2.92mdk.i586.rpm

    bea49f0df30a6fc90c08ce7de955ad51  9.2/RPMS/libpostproc0-devel-0.91-8.2.92mdk.i586.rpm

     

    even though on my computer older versions of these packages are installed...

     

    Can anyone help me? :help:

×
×
  • Create New...