OpenBSDのDropbox

OpenBSDのDropbox

Dropboxを正常にインストールし、OpenBSDでdropboxdを正しく実行した人がいますか(FreeBSDも私にも機能します。)?ソースからビルドし、すべてがうまくインストールされましたが、実行しようとすると次のようになります。


$ python /usr/bin/dropbox start                                                
Starting Dropbox...
The Dropbox daemon is not installed!
Run "dropbox start -i" to install the daemon

$ ssh root@localhost 
root@localhost's password: 

<snip>

# python /usr/bin/dropbox start -i                                                                    
Starting Dropbox...
Dropbox is the easiest way to share and store your files online. 
Want to learn more? Head to http://www.dropbox.com/

In order to use Dropbox, you must download the proprietary daemon. [y/n] y

Error: Platform not supported

そのため、コマンドラインクライアントとプレーンテキストの内容を確認しました。http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxインストールしかし、もちろん、これはLinux用にプリコンパイルされています。サイコロはありません。

この問題を解決しようとしていて、DropBox / BSDの組み合わせの解決策を見つけた人はいますか?


私は接続を切断し、最終的に問題に遭遇しました。 amd64にはopenbsdのLinuxエミュレーションはありませんでした。ゲームの終わり。みんなの時間を無駄にしてすみません。

ベストアンサー1

以下は、アーカイブアカウントスクリプトの問題コードです。

def plat():
    if sys.platform.lower().startswith('linux'):
        arch = platform.machine()
        if (arch[0] == 'i' and
            arch[1].isdigit() and
            arch[2:4] == '86'):
            plat = "x86"
        elif arch == 'x86_64':
            plat = arch
        else:
            FatalVisibleError("Platform not supported")
        return "lnx.%s" % plat
    else:
        FatalVisibleError("Platform not supported")

次のようなものと交換してみることができます。

def plat():
    arch = platform.machine()
    if (arch[0] == 'i' and
        arch[1].isdigit() and
        arch[2:4] == '86'):
        plat = "x86"
    elif arch == 'x86_64':
        plat = arch
    else:
        FatalVisibleError("Platform not supported")

もちろん、その過程で他の問題を発見することもできます。頑張ってください。

おすすめ記事