+ Responder ao Tópico



  1. #1
    Visitante

    Padrão Desenvolvimento de Sites

    Olá, eu usava o dreamweaver mx pra programar php, porém quero abandonar o rwindows de vez... qual melhor programa pra programação/design similar ao dreamweaver ?


    obrigado

  2. #2

    Padrão Desenvolvimento de Sites

    naum precisa abandoná-lo!

    rode ele no linux com o "wine"!

  3. #3
    juniox
    Visitante

    Padrão Desenvolvimento de Sites

    fui tentar usar.. usando o seguinte comando:

    [root@localhost nego]# wine /mnt/win/Arquivos\ de\ programas/Macromedia/Dreamweaver\ MX/Dreamweaver.exe

    então, ele retornou o seguinte erro:

    err:module<IMG SRC="images/forum/icons/icon_razz.gif">E_fixup_imports Module (file) mfc42.dll (which is needed by Z:\mnt\win\Arquivos de programas\Macromedia\Dreamweaver MX\Dreamweaver.exe) not found

    --------------------------------------------------------------------------------------------

    mfc42.dll not found ??


    [root@localhost nego]# locate mfc42.dll
    /mnt/win/windows/system32/dllcache/mfc42.dll
    /mnt/win/windows/system32/mfc42.dll
    /mnt/win/windows/WinSxS/x86_Microsoft.Tools.VisualCPlusPlus.Runtime-Libraries_6595b64144ccf1df_6.0.0.0_x-ww_ff9986d7/mfc42.dll
    /mnt/win/Arquivos de programas/Grisoft/avg6/mfc42.dll
    /mnt/win/Arquivos de programas/Ahead/CoverDesigner/mfc42.dll
    /mnt/win/Arquivos de programas/Ahead/Nero/WaveEditor/mfc42.dll
    /mnt/win/Arquivos de programas/Ahead/Nero/mfc42.dll


    ---------------------------------------------------

    como arrumar isso ???

    valew




  4. #4

    Padrão Desenvolvimento de Sites

    configure corretamente seu arquivo de configuração do wine.

    ele não está achando a DLL requerida, pois o diretório "c:"
    está em outro lugar para ele!!!

    Abra arquivo wine.conf localizado em /etc/wine
    procure por:

    [Drive C]
    "Path" = "/lib/wine/c"

    o Path pode ser outro diferente deste acima tb!

    vc pode fazer duas coisas:
    ou mudar o Path para:
    "Path" = "/onde_voce_montou_seu_windows/"
    com isso ele utilizará os arquivos da sua partição do windows.
    ou
    copiar os arquivos DLL e quais outros ele pedir, para o diretorio
    equivalente do seu Path do DRIVE C. ex:
    se o Path do DRIVE C for: "Path" = "/lib/wine/c"
    copie a dll para: /lib/wine/c/windows/system32/dllcache/mfc42.dll

    veja aqui.

  5. #5

    Padrão Desenvolvimento de Sites

    bom se vc quer algo nativo
    use o quanta-plus
    eh eh bonzinho mas num se compara ao dreamweaver
    www.freshmeat.net

  6. #6
    juniox
    Visitante

    Padrão Desenvolvimento de Sites

    ae.. valew pela ajuda... mas tá dando pau ainda

    tipo... mudei lá o path, ficou

    "Path" = "/mnt/win"

    okz..

    porém, to usando o win XP .. e agora dá o seguinte erro:

    fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to ad d support for it ?


    eu não teria que alterar o "Filesystem" lá no config ??

    mas o que colocar lá ? eu tentei colocar &acute;winxp&acute;.. heheheeh

    mas nem tá dando

    bom, valew

  7. #7

    Padrão Desenvolvimento de Sites

    file system naum seria "NTFS!?

  8. #8
    juniox
    Visitante

    Padrão Desenvolvimento de Sites

    coloquei isso.... mas dá isso:

    [nego@localhost .wine]$ wine
    Drive C: unknown filesystem type &acute;NTFS&acute;, defaulting to &acute;win95&acute;.
    fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ?
    fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ?
    fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ?
    Wine version 20020310

  9. #9
    Administrador Avatar de Fernando
    Ingresso
    Jul 2001
    Localização
    Campinas Area
    Posts
    4.996
    Posts de Blog
    4

    Padrão Desenvolvimento de Sites

    Nao amigo, existem os seguintes file systems no wine:

    msdos, fat, win95, vfat, unix, win2k, winxp

    use:

    --winver winxp

  10. #10
    juniox
    Visitante

    Padrão Desenvolvimento de Sites

    olha, desculpa minha ignorância, mas não to conseguindo aqui. To fazendo o seguinte, dentro do diretório do usuário &acute;nego&acute; tem um diretório oculto chamado &acute;.wine&acute;, dentro desse diretório tem alguns arquivos, entre eles, o "config", e é nesse arquivo que estou tentando configurar... creio que seja assim.
    bom, dentro desse arquivo eu deixei assim:

    ---------------------------------------------------------
    WINE REGISTRY Version 2
    ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

    ;;
    ;; MS-DOS drives configuration
    ;;
    ;; Each section has the following format:
    ;; [Drive X]
    ;; "Path"="xxx" (Unix path for drive root)
    ;; "Type"="xxx" (supported types are &acute;floppy&acute;, &acute;hd&acute;, &acute;cdrom&acute; and &acute;network&acute
    ;; "Label"="xxx" (drive label, at most 11 characters)
    ;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)
    ;; "Filesystem"="xxx" (supported types are &acute;msdos&acute;/&acute;dos&acute;/&acute;fat&acute;, &acute;win95&acute;/&acute;vfat&acute;, &acute;unix&acute
    ;; This is the FS Wine is supposed to emulate on a certain
    ;; directory structure.
    ;; Recommended:
    ;; - "win95" for ext2fs, VFAT and FAT32
    ;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
    ;; DON&acute;T use "unix" unless you intend to port programs using Winelib !
    ;; "Device"="/dev/xx" (only if you want to allow raw device access)
    ;;
    [Drive A]
    "Path" = "/mnt/floppy"
    "Type" = "floppy"
    "Label" = "Floppy"
    "Serial" = "87654321"
    "Device" = "/dev/fd0"

    [Drive C]
    ##"Path" = "/usr/share/wine-c" ## eu alterei isso para:
    "Path" = "/mnt/win"
    "Type" = "hd"
    "Label" = "MS-DOS"
    "Filesystem" = "NTFS"

    [Drive D]
    "Path" = "/mnt/cdrom"
    "Type" = "cdrom"
    "Label" = "CD-Rom"
    "Filesystem" = "win95"
    ; make sure that device is correct and has proper permissions !
    "Device" = "/dev/cdrom"

    [Drive E]
    "Path" = "/tmp"
    "Type" = "hd"
    "Label" = "Tmp Drive"
    "Filesystem" = "win95"

    [Drive F]
    "Path" = "${HOME}"
    "Type" = "network"
    "Label" = "Home"
    "Filesystem" = "win95"

    [Drive Z]
    "Path" = "/"
    "Type" = "network"
    "Label" = "Root"
    "Filesystem" = "win95"

    [wine]
    "Windows" = "c:\\windows"
    "System" = "c:\\windows\\system"
    "Temp" = "e:\\"
    "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
    "Profile" = "c:\\windows\\Profiles\\Administrator"
    "GraphicsDriver" = "x11drv"
    ; Wine doesn&acute;t pass directory symlinks to Windows programs by default.
    ; Enabling this may crash some programs that do recursive lookups of a whole
    ; subdir tree in case of a symlink pointing back to itself.
    ;"ShowDirSymlinks" = "1"
    "ShellLinker" = "wineshelllink"

    # <wineconf>

    [DllDefaults]
    ; "EXTRA_LD_LIBRARY_PATH" = "${HOME}/wine/cvs/lib"
    "DefaultLoadOrder" = "native, builtin, so"

    [DllOverrides]
    "commdlg" = "builtin, native"
    "comdlg32" = "builtin, native"
    "ver" = "builtin, native"
    "version" = "builtin, native"
    "shell" = "builtin, native"
    "shell32" = "builtin, native"
    "lzexpand" = "builtin, native"
    "lz32" = "builtin, native"
    "comctl32" = "builtin, native"
    "commctrl" = "builtin, native"
    "wsock32" = "builtin"
    "winsock" = "builtin"
    "advapi32" = "builtin, native"
    "crtdll" = "builtin, native"
    "mpr" = "builtin, native"
    "winspool.drv" = "builtin, native"
    "ddraw" = "builtin, native"
    "dinput" = "builtin, native"
    "dsound" = "builtin, native"
    "mmsystem" = "builtin"
    "winmm" = "builtin"
    "msvcrt" = "native, builtin"
    "msvideo" = "builtin, native"
    "msvfw32" = "builtin, native"
    "mcicda.drv" = "builtin, native"
    "mciseq.drv" = "builtin, native"
    "mciwave.drv" = "builtin, native"
    "mciavi.drv" = "native, builtin"
    "mcianim.drv" = "native, builtin"
    "msacm.drv" = "builtin, native"
    "msacm" = "builtin, native"
    "msacm32" = "builtin, native"
    "midimap.drv" = "builtin, native"
    "wnaspi32" = "builtin"
    "icmp" = "builtin"

    [x11drv]
    ; Number of colors to allocate from the system palette
    "AllocSystemColors" = "100"
    ; Use a private color map
    "PrivateColorMap" = "N"
    ; Favor correctness over speed in some graphics operations
    "PerfectGraphics" = "N"
    ; Color depth to use on multi-depth screens
    ;;"ScreenDepth" = "16"
    ; Name of X11 display to use
    ;;"Display" = ":0.0"
    ; Allow the window manager to manage created windows
    "Managed" = "N"
    ; Use a desktop window of 640x480 for Wine
    ;"Desktop" = "640x480"
    ; Use XFree86 DGA extension if present
    "UseDGA" = "Y"
    ; Use XShm extension if present
    "UseXShm" = "Y"
    ; Enable DirectX mouse grab
    "DXGrab" = "N"
    ; Create the desktop window with a double-buffered visual
    ; (useful to play OpenGL games)
    "DesktopDoubleBuffered" = "N"
    ; Code page used for captions in managed mode
    ; 0 means default ANSI code page (CP_ACP == 0)
    "TextCP" = "0"
    ; Use this if you have more than one port for video on your setup
    ; (Wine uses for now the first &acute;input image&acute; it finds).
    ;; "XVideoPort" = "43"

    [fonts]
    ;Read documentation/fonts before adding aliases
    "Resolution" = "96"
    "Default" = "-adobe-times-"

    [serialports]
    "Com1" = "/dev/ttyS0"
    "Com2" = "/dev/ttyS1"
    "Com3" = "/dev/ttyS2"
    "Com4" = "/dev/modem"

    [parallelports]
    "Lpt1" = "/dev/lp0"

    [spooler]
    "LPT1:" = "|lpr"
    ;"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
    ;"LPT3:" = "/dev/lp3"

    [ports]
    ;"read" = "0x779,0x379,0x280-0x2a0"
    ; "write" = "0x779,0x379,0x280-0x2a0"

    [spy]
    "Exclude" = "WM_SIZE;WM_TIMER;"

    [registry]
    ;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
    ;Defaults are read all, write to Home
    ; Global registries (stored in /etc)
    "LoadGlobalRegistryFiles" = "Y"
    ; Home registries (stored in ~user/.wine/)
    "LoadHomeRegistryFiles" = "Y"
    ; Load Windows registries from the Windows directory
    "LoadWindowsRegistryFiles" = "Y"
    ; TRY to write all changes to home registries
    "WritetoHomeRegistryFiles" = "Y"
    ; Registry periodic save timeout in seconds
    ; "PeriodicSave" = "600"
    ; Save only modified keys
    "SaveOnlyUpdatedKeys" = "Y"

    [Tweak.Layout]
    ;; supported styles are &acute;Win31&acute;(default), &acute;Win95&acute;, &acute;Win98&acute;
    "WineLook" = "Win98"

    [Console]
    ;"Drivers" = "tty"
    ;"XtermProg" = "nxterm"
    ;"InitialRows" = "25"
    ;"InitialColumns" = "80"
    ;"TerminalType" = "nxterm"

    [Clipboard]
    "ClearAllSelections" = "0"
    "PersistentSelection" = "1"

    # </wineconf>
    ------------------------------------------------------------------------------------

    qual é meu erro ?

    valew

  11. #11
    juniox
    Visitante

    Padrão Desenvolvimento de Sites

    ow.. alguém me ajudae...